vcbuild

VCBuild task in MSBuild - change outputpath

徘徊边缘 提交于 2019-12-22 10:56:22
问题 I'm attempting to write an automated build for one of our products, and I've hit up against a wall for some of our VC++ projects: I need to be able to set the output path to where the assemblies will be copied once its done. Here is a makeshift msbuild file: <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <Target Name="Build"> <VCBuild Projects="C:\src\SomeProject\SomeProject.vcproj" ToolPath="C:\Program Files\Microsoft Visual

Wrong version of vcbuild.exe is invoked

做~自己de王妃 提交于 2019-12-11 05:55:24
问题 I have several versions of Visual Studio installed on my system (2005, 2008 and 2010). Also I have a Visual Studio 2005 (8.0) C++ project (vcproj) and solution (sln) associated with it. When I run the following command msbuild helloworld.sln the msbuild of version 4.0 is called and then it invokes vcbuild.exe from Visual Studio 9.0 directory. This leads to an error vcbuild.exe : error VCBLD0010: Project 'XYZ' requires upgrade. Use'vcbuild /upgrade' or 'devenv /upgrade' to upgrade the project.

How do I write a build batch script that runs vcvars32.bat, and then continues with the build?

我们两清 提交于 2019-12-09 14:14:34
问题 I want to write a simple batch script that loads the Visual Studio build environment using vcvars32.bat and then continue with the build, using vcbuild . However, my script won't execute past the invocation of vcvars32.bat . The last output I get is: Setting environment for using Microsoft Visual Studio 2008 x86 tools. As you can see I'm using Visual Studio 2008. Here is my simplest batch script: @echo off "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" vcbuild 回答1: You

Optional environment variables with vcproj/vsprops

℡╲_俬逩灬. 提交于 2019-12-07 07:33:56
问题 Is there any way to make an environment variable substituion in a project file (with or without vsprops) that, if the variable is not found, is substituted instead with a default value? I haven't found any way to do this, because everything seems to override environment variables. EDIT: I need this to work for a property, not for an environment variable. Specifically, devenv may be invoked from another source with an environment variable specifying the target build directory. If that variable

Optional environment variables with vcproj/vsprops

谁说胖子不能爱 提交于 2019-12-05 17:19:06
Is there any way to make an environment variable substituion in a project file (with or without vsprops) that, if the variable is not found, is substituted instead with a default value? I haven't found any way to do this, because everything seems to override environment variables. EDIT: I need this to work for a property, not for an environment variable. Specifically, devenv may be invoked from another source with an environment variable specifying the target build directory. If that variable doesn't exist (perhaps because devenv is just being used as the IDE) then it should use a default. I

How do I write a build batch script that runs vcvars32.bat, and then continues with the build?

冷暖自知 提交于 2019-12-03 22:51:51
I want to write a simple batch script that loads the Visual Studio build environment using vcvars32.bat and then continue with the build, using vcbuild . However, my script won't execute past the invocation of vcvars32.bat . The last output I get is: Setting environment for using Microsoft Visual Studio 2008 x86 tools. As you can see I'm using Visual Studio 2008. Here is my simplest batch script: @echo off "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" vcbuild You have to use call in your batch script, or the termination of vcvars32.bat will terminate your own batch script.

Testacular install fails, no vcbuild.exe

我的未来我决定 提交于 2019-11-30 06:22:57
I'm trying to install Testacular (using nmp) on a Windows 8 Professional (64 bit) laptop, but it fails when it tries to install socket.io as part of this process. The error I get is Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. I apparently have .NET framework 3.5 installed (it's checked under the add/remove Windows components bit in Control Panel), although I've not managed to find a vcbuild.exe. I tried