People,
What are the rules for generating ads in the designer.cs file in an asp.net project?
for example, I have - myfile.resx,
- myfile.aspx,
- myfile.aspx.cs.
they generate - myfile.aspx.designer.cs
which defines things like protected global :: system.web.ui.webcontrols.literal blahblah; for my resources.
but until I refer to something in the myfile.aspx file, it will not appear in the generated designer.cs file, even if I refer to it in myfile.cs (class codebehind).
how can i force this without taking responsibility for this designer.cs file?
context: I have someresource.text in my aspx, which I create from many other resources, so they are not explicitly displayed in aspx.
source
share