Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 15, 2010 10:25 AM by Nick_Uk
Oct 07, 2010 09:43 AM|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 13, 2010 01:10 AM|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 10:25 AM|LINK