Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 MSBuild,我如何过滤掉我的项目(和潜在的文件夹)中不需要的扩展?
.cs、.resx 文件等扩展名。
<ItemGroup> <MyGroup Include="Directory\**" Exclude="**\*.cs;**\*.resx" /> </ItemGroup>
http://blogs.msdn.com/msbuild/archive/2006/03/08/546583.aspx