在 VS2013 中从 SVN 获取更新后,数据集 Designer.cs 生成 Designer1.cs
Dataset Designer.cs generate Designer1.cs after taking update from SVN in VS2013
从 SVN 数据集更新后我遇到了一个奇怪的问题 Designer.cs 文件生成另一个具有不同名称的文件,例如
test.Designer.cs 更新后更名为 test1.Designer.cs 。我遵循找到的建议 here。但它的生成 test1.Designer.cs 不再工作,请帮我解决这个问题。
- 编辑 csproj 文件。
- 搜索
<LastGenOutput>test1.Designer.cs</LastGenOutput>
。
- 更正值,使其显示
<LastGenOutput>test.Designer.cs</LastGenOutput>
。
- 从磁盘中删除 test.Designer.cs 和 test1.Designer.cs。
- 再次打开解决方案。
- 右键单击数据集并单击运行自定义工具重新生成设计器文件。
Visual Studio 中的字符串资源 resx 文件也会出现同样的问题。
从 SVN 数据集更新后我遇到了一个奇怪的问题 Designer.cs 文件生成另一个具有不同名称的文件,例如 test.Designer.cs 更新后更名为 test1.Designer.cs 。我遵循找到的建议 here。但它的生成 test1.Designer.cs 不再工作,请帮我解决这个问题。
- 编辑 csproj 文件。
- 搜索
<LastGenOutput>test1.Designer.cs</LastGenOutput>
。 - 更正值,使其显示
<LastGenOutput>test.Designer.cs</LastGenOutput>
。 - 从磁盘中删除 test.Designer.cs 和 test1.Designer.cs。
- 再次打开解决方案。
- 右键单击数据集并单击运行自定义工具重新生成设计器文件。
Visual Studio 中的字符串资源 resx 文件也会出现同样的问题。