Visual Studio 2012 is built

We use msbuild to build the solution on the servers and used the command line provided by sdk 7.1 for assembly for .net 4 for 32-bit and 64-bit bits. SETENV provided in sdk was ideal for this.

Now we are upgrading to .NET 4.5 and VS 2012 Since the new Windows SDK 8 does not have a command line, I think we should use the command line provided by Visual Studio 2012 (if there is no better way). Now the problem is that VS 11 provides 3 command requests for 32, 64 bit and ARM. Strange, there is also a DEVELOPMENT TEAM PROGRAM, which for some reason picks up SDK 7.0. Therefore my questions ...

  • This is the perfect build command line for .net 4.5 using sdk 8.

  • Do I need to use different command prompts to target another platform or is there a better way to change the target platform without opening a new command line.

  • How can I choose the right SDK, since the SDK configuration tool shows the parameters for sdk 8.0 and 8.0A, but only options VS 2005 and VS 2008 are available, and I think I want to choose VS 2012 is.

  • The setenv attribute for the VS 2012 command line to configure configurations and the platform.

  • Basically, how to choose the right SDK, the right environment, and the right command line to target different platforms for .NET 4.5.

+4
source share
1 answer

I found this: http://msdn.microsoft.com/en-us/library/x4d2c09s(v=vs.110).aspx

The Developer Command Prompt for VS2012

Any of the compilers can be used on the command line by running the Vcvarsall.bat batch file to configure the path and environment variables that allow you to use the compiler toolkit. By default, the full path of this file is either C: \ Program Files \ Microsoft Visual Studio 11.0 \ VC \ vcvarsall.bat on 32-bit Windows operating systems or C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ VC \ vcvarsall. bat on 64-bit systems.

Just 'cd vc' from the default route and do:

vcvarsall x86_amd64

To configure the target x64 architecture, I just built LuaJIT-2.0.0 using this method on Windows 8 for the x64 architecture, although I still don't know what command to install for the release. I just hope this is the default.

setenv / release / x64

Hope this helps.

0
source

All Articles