Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am facing a weird problem after taking update from SVN data-set Designer.cs file generate another file with different name like test.Designer.cs after update renamed as test1.Designer.cs . I follow suggestion found http://stackoverflow.com/a/27268416/4336330[^] . but not working again its generate test1.Designer.cs ,please help me to solve this .
Posted
Updated 8-May-15 7:58am
v3

1 solution

You need to commit such changes to Subversion (or any other Revision Control System) in one transaction: both files related to your test1 Solution Explorer nodes (one, the auto-generated one, will be a child of another one) and the project file. And update all tree in one transaction.

You need to try to implement the policy, so all participant would commit changes to the project which always leaves the projects/solutions successfully built. Partial or inconsistent commitment may break this important invariant.

However, some mistake happen; and everything can be fixed. In your case, you would need some extra efforts. Create a separate project and create similar test node (whatever it is; resource, form, user control or something). Open the project file in a text editor (to do it in Visual Studio, you will need to unload the project), and see how the nodes are structured in the project's XML. In your working project, manually reproduce similar structure. This is not simple, but this is very simple.

By the way, usually, if you simply add the nodes from files, you still can build the project and even develop it, even though the structure shown in the Solution Explorer may look mangled. But I would rather advise to structure the notes properly.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900