假如我新建一个a.cs文件和一个a.cs.js文件,如何在解决方案管理器中让a.cs.js自动折叠在a.cs文件下面?具体效果要求类似a.aspx能够折叠a.aspx.cs和a.aspx.designer.cs那样
2 回答
慕森王
TA贡献1777条经验 获得超3个赞
修改.csproj文件,类似下面的,其实就是DependentUpon
<Compile Include="Implement\MallAttributeService.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Implement\MallAttributeService.gen.cs">
<DependentUpon>MallAttributeService.cs</DependentUpon>
<SubType>Code</SubType>
</Compile>
- 2 回答
- 0 关注
- 634 浏览
添加回答
举报
0/150
提交
取消