首页 > 技术文章 > VS2013修改resource之后产生designer1.cs

dehuachenyunfei 2017-11-24 17:54 原文

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.

推荐阅读