Visual Studio 2012 Auto-Modifying HTML and breaking application
I am using a custom control. In one of the places I use it, every time I save Visual Studio modifies it, which breaks my application. I am beyond frustrated. Anybody know what causes it or how to fix it.
What I want it is:
<div id="divRegion" runat="server">
<cc1:DropDownCheckBoxes ID="ddcbREgion" runat="server" AddJQueryReference="True">
</cc1:DropDownCheckBoxes></div>
When I click save it adds all this mess, and then pops and Ambiguity error when I run it.
<div id="divRegion" runat="server">
<cc1:DropDownCheckBoxes ID="ddcbREgion" runat="server" AddJQueryReference="True" CssClass="" RepeatDirection="Horizontal" UseButtons="False" UseSelectAllNode="True">
<Style DropDownBoxBoxHeight="" DropDownBoxBoxWidth="" SelectBoxWidth="" />
<Style2 DropDownBoxBoxHeight="" DropDownBoxBoxWidth="" SelectBoxWidth="" />
<Texts SelectAllNode="Select all" />
</cc1:DropDownCheckBoxes></div>
Likewise the other day I added Chart 3.5 to my project, but every time I saved, it would go i and convert all my references to 4.0.0.0 Chart (I am on 3.5 for this project), which would likewise break it. Is there an option somewhere to stop it from doing this?