I'd like to copy several known files to another directory as a part of a post-build event, but don't want to have lines and lines of "copy [file] [destination] [switches]" in my build event. If possible, I'd like to list out the files I'd like to copy using a similar format: "copy [file 1] [file 2] [file 3] [etc...] [destination] [switch...
I just wrote a little program which will be executed as a post-build step when I compile certain projects.
This program returns 0 for success, or some number for failure. In case of failure, Visual Studio then correctly outputs: "The command [...] exited with code n."
However, a single number is not always helpful. In my case, I actual...
I'm running into an issue where I need to be able to change the target directory path that my IIS 5.0 virtual directory is pointing to from within a Post-Build block in Visual Studio 2008.
If you're not familiar with Post-Build events they basically just take batch commands. So if you know of a batch command for IIS 5.0 in XP Pro that c...
Hey all,
I'm trying to use SubWCRev to get the current revision number of our SVN repository and put it in a file so I can show it in the UI.
As I'm working with a Web App, I use the following post build command line:
"SubWCRev.exe" "$(SolutionDir)." "$(ProjectDir)Content\js\revnumber.js.tpl" "$(ProjectDir)Content\js\revnumber.js"
I...
One of the projects I work on need to read a registry key in order to determine some value. Usually the value will be written during installation.
Because I want to run the project locally as well (without installation) I want to write that value after the build has finished.
Is there a simple way I can do that?
...
I have WPF assembly with a bunch of other dlls in my project
I want to move everything except the main assembly and the app.config from the build directory to a subdirectory called bin
this is easy when I add the probing tag to my app.config and do it manually (a cut and paste job)
<configuration>
<connectionStrings>
<add name="...
I am currently using Visual Studio 2010 post-build event to minify my JavaScript files. The problem is every time I add a new JavaScript file I have to update the post build event. What I want to do is make the script a bit more flexible.
Directory structure:
\Scripts\
Script1.debug.jsScript2.debug.jsScript3.debug.js
Here is my s...