I'm working on a large project with several other programmers, using Subversion source control. The problem comes when I change files, regenerating the designer.cs file, and go to commit my designer.cs files--they strip out all XML comments, giving a source history like this:
Before:
/// <summary>
/// MenuUpdatePanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel MenuUpdatePanel;
/// <summary>
/// _changePersonLink 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.HtmlAnchor _changePersonLink;
After:
protected System.Web.UI.UpdatePanel MenuUpdatePanel;
protected System.Web.UI.HtmlControls.HtmlAnchor _changePersonLink;
Of course, this means that mine effectively marks the entire file as changed, if I add even a single control to a page. Trying to resolve conflicts is a pain, for me, or for others.
The question remains...what odd setting got turned on, that mine would change designer files this way? How can I save my teammates from going down the Path Of Insanity? Removing a service pack is not an option in this situation.