I would like to send additional parameters to the batch file that I'm running in the "Pre-build event command line" of Visual Studio 2008. I can change directory ("cd") to the current "solution directory" by passing in "$(SolutionDir)\MyProject".
Can I pass in the build version? I've set my AssemblyInfo.cs to auto increment (as describ...
As the tittle says I need a prebuild command CONDITION that executes an exe on build solution/project and passes when i use F5.
I found "$(ConfigurationName)" as a possible solution on some websites but it only works if you change each time the configuration type manually.
Anybody knows the trick??
...
Hi,
In Visual Studio 2008 we run a post build event which calls NANT and in turn creates our config files.
e.g.
if $(SolutionDir) == . GOTO end
nant -buildfile:$(SolutionDir)default.build create..web.config
Is there a way to run this only on ReBuild?
Thanks
...
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?
...
Is there any way to force Clean action as a Post / Pre build event for single project in Visual Studio?
Thank you.
...
I have a data directory in my VS2008 Project that is "Excluded from Project".
How can I use the Post-Build Event (Properties - Build Events) to have that directory included in the project output after compilation?
...