When I work on the asp.net/c# project, I come across foobar.aspx.designer.cs, which automatically creates it. for example, when I change the code / constructor, designer.cs automatically updates its contents.
Since I'm a little dude controller, I would like to save the code myself. I am not happy with the excessive amount of comments that I do not need. How:
/// <summary> /// Form1 control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.HtmlControls.HtmlForm Form1;
While I would like to see the following:
protected global::System.Web.UI.HtmlControls.HtmlForm Form1; protected global::System.Web.UI.WebControls.Button Button3; etc, etc
(not against naming, of course, I would give him some distinctive name)
How to fix it? I checked google on this but couldn't find the answer so fast ...
Joris
source share