VS2013修改resource之后产生designer1.cs

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

posted on 2017-11-24 17:54  IT-HourseMan  阅读(308)  评论(0编辑  收藏  举报