FAQ Database Discussion Community


Testing Pre-Built Command Event

visual-studio-2012,command-line,pre-build-event
Is there anyway I can test pre-built event command line, from visual studio command prompt or from any other tool? I have this event REM C:\Program Files\TortoiseSVN\bin\SubWCRev.exe $(SolutionDir). $(SolutionDir)\mynamespace\Release.tmpl $(SolutionDir)\mynamespace\Release.txt But it does not seems to work (Nothing happens). I also tried to execute this command from simple comand prompt,...

Visual Studio add pre-build event that always runs (C# project)

visual-studio-2013,msbuild,pre-build-event
In my project I am running an external tool to update some binary files. These files are included in the project as "content". At the moment the tool is set to run during "pre-build event" in C# project properties. Unfortunately this event is only executed if the project is out...

How to use ~/.bash_profile environment variables when using “Run Script” in “Build Phases” for XCode 6.1?

c++,xcode6,build-process,osx-yosemite,pre-build-event
I have a cross platform unit testing framework that I use for C++. In order to build and run the tests in XCode 6.1 I need to run a python script as part of a prebuild script. Since I use the same unit testing framework for multiple projects I figured...

Unique Assembly name every build

c#,pre-build-event
I’m trying to change the Assembly name of my dll during build. I’ve created another exe that changes the assembly name in the csproj file, which I execute during pre-build. But it seems like my changes to the csproj file only take effect after the build has finished, which is...

How to run vbs file in pos-build or pre-build event in vs2005?

vbscript,visual-studio-2005,pre-build-event
I have some projects inside a solution, but because the needs of x64 and win32 i have diferent releases and some diferent files for a setup project. I need to unpack a zipfile before build the setup project. I have a vbs file that woks well to unzip the file,...