|
[
Permalink
| « Hide
]
Jim Radford added a comment - 01/Aug/08 06:57 PM
As a temporary workaround you will need to edit the form designer source files outside of the visual studio form designer.
Applied a patch in r2076 that should correct this. Please reopen the issue if you are still seeing problems, and thank you for the report!
Repro:
Open and edit any of our example GUI apps Expected: Actual: the *.Designer.cs file is getting completely wiped out and the new control added is all that remains in the Designer.cs.
Currently you can workarround this by:
1) open up the MyForm.Designer,cs 2) cut out all the Class code .. put it into All that will be left is in Myform.Designer.cs using... Add the word "partial" back into the defination Save.. go back into the Designer View again.. AND all is well ! Now all WYSIWYG changes you do will change the IntializeComponent() in MyForm.cs for now on Most of the time for now on thats the most you'll need to do to the MyForm.Designer.cs what you did above.. With the exception of when you add a new component. Lets say a new textBox15. in the MyForm.cs It Appears the problem is extraneous fields being added by prebuild to the .csproj file. Specifically:
<EmbeddedResource Include="Dashboard.resx"> Commenting the Generator and LastGenOutput in the csproj appears to fix the issue. I will update our prebuild system to take these into account for EmbeddedResource nodes. Jim Fix applied to r2493, please reopen this issue if you encounter any further issues
|
||||||||||||||||||||||||||||||||||||||||||||||||