Last post Oct 15, 2010 06:25 AM by Nick_Uk
Oct 07, 2010 05:43 AM|Nick_Uk|LINK
Does anyone know how I can exclude certain folders and files from certain builds? Essentially I've got test code that needs to be deployed to the testing server - but obviously not the real server. This is in both files and folders.
Using the configuration manager profiles, I would like to create a profile for each scenario, and tell it what files it does not need.
Oct 12, 2010 09:10 PM|XiaoCheng Fan - MSFT|LINK
You can try ItemGroup in your csproj/vbproj:
<Res Include = "Strings.fr.resources" >
<Res Include = "Dialogs.fr.resources" >
<CodeFiles Include="**\*.cs" Exclude="**\generated\*.cs" />
<CodeFiles Include="..\..\Resources\Constants.cs" />
Be careful, wrong settings in project will cause it unable to be loaded.
For more details:
I hope this can be helpful for you.
Oct 15, 2010 06:25 AM|Nick_Uk|LINK