Pre- and Post-Build Events run as a batch script. You can do a conditional statement on $(ConfigurationName)
.
For instance
if $(ConfigurationName) == Debug xcopy something somewhere
More Related Contents:
- Displaying build times in Visual Studio?
- VisualStudio: How to save the obj folder somewhere else
- How to get cmd line build command for VS solution?
- App.Config Transformation for projects which are not Web Projects in Visual Studio?
- What are the obj and bin folders (created by Visual Studio) used for?
- Proper way to rename solution (and directories) in Visual Studio
- VS2010 How to include files in project, to copy them to build output directory automatically during build or publish
- Can you force Visual Studio to always run as an Administrator in Windows 8?
- Visual Studio 2013 and ASP.NET Web Configuration Tool
- Microsoft Visual Studio: opendir() and readdir(), how?
- Visual Studio 2010 isn’t building before a run when there are code changes
- Visual Studio – Attach to process shortcut
- How to have TFS 2010 detect changes done to files outside of Visual Studio?
- How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress – Error 502 (Cannot debug from Visual Studio)?
- Warning major version 52 is newer than 51, the highest major version supported by this compiler
- Visual Studio 2010 – recommended extensions [closed]
- Visual Studio (2008) ‘Clean Solution’ Option
- Tools for inspecting .lib files?
- Will installing Visual Studio 2010 side by side with VS2008 cause problems?
- Search stops working for “Entire Solution”
- Visual Studio Copy Project
- Is it possible to create a Windows 8 Store App from Visual Studio 2013?
- Is Visual Studio Community a 30 day trial?
- ‘nuget’ is not recognized but other nuget commands working
- Visual Studio isn’t tracking changes, or checking out files from source control as I edit them
- How to upgrade csproj files with VS2017
- Visual Studio open files question
- Recommended number of projects in Visual Studio Solution
- 500 Error Running Visual Studio ASP.NET Unit Test
- Structuring projects & dependencies of large winforms applications in C#