tags:

views:

159

answers:

1

Hi, Using MSBuild, how can I filter out unwanted extensions in my project (and folders potentially)?

Extensions like .cs, .resx files etc.

+4  A: 
<ItemGroup>
<MyGroup Include="Directory\**" Exclude="**\*.cs;**\*.resx" />
</ItemGroup>

http://blogs.msdn.com/msbuild/archive/2006/03/08/546583.aspx

Shawn Miller