相关疑难解决方法(0)

<子类型>设计器</ Subtype>添加然后由Visual Studio在加载/卸载时删除

有谁看过这个吗?我有一个大型的Visual Studio项目,在项目的下一次打开和关闭时不断添加[Subtype]Designer[/Subtype]到我的项目中.vcproj然后删除它.只定义了一个类StoredImageControl.cs.任何人都知道如何关闭它,因为它实际上搞乱了我的版本控制.

这是在之前:

<EmbeddedResource Include="StoredImageControl.resx">
  <DependentUpon>StoredImageControl.cs</DependentUpon>
</EmbeddedResource>
Run Code Online (Sandbox Code Playgroud)

这是在之后

<EmbeddedResource Include="StoredImageControl.resx">
  <DependentUpon>StoredImageControl.cs</DependentUpon>
  <SubType>Designer</SubType>
</EmbeddedResource>
Run Code Online (Sandbox Code Playgroud)

designer csproj subtype visual-studio

171
推荐指数
5
解决办法
4万
查看次数

标签 统计

csproj ×1

designer ×1

subtype ×1

visual-studio ×1