Dataset Designer.cs generate Designer1.cs after taking update from SVN in VS2013

瘦欲@ 提交于 2019-12-30 05:22:07

问题


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 here. but not working again its generate test1.Designer.cs ,please help me to solve this .


回答1:


  1. Edit the csproj file.
  2. Search for <LastGenOutput>test1.Designer.cs</LastGenOutput>.
  3. Correct the value so it shows <LastGenOutput>test.Designer.cs</LastGenOutput>.
  4. Delete test.Designer.cs and test1.Designer.cs from disk.
  5. Open the solution again.
  6. Right-click on the dataset and click Run Custom Tool to regenerate the designer file.

The same problem can also occur with string resource resx files in Visual Studio.



来源:https://stackoverflow.com/questions/30129519/dataset-designer-cs-generate-designer1-cs-after-taking-update-from-svn-in-vs2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!