.net framework sdk version(csc.exe) using vcbuild.exe on the command line.

Posted by r9r9r9 on Stack Overflow See other posts from Stack Overflow or by r9r9r9
Published on 2010-05-31T12:16:43Z Indexed on 2010/06/01 1:33 UTC
Read the original article Hit count: 739

Filed under:

I create a c# class library project named: testVcBuild, then use vcbuild.exe to build the project in the command line like:

C:\Program Files\Microsoft Visual Studio 9.0\VC\vcpackages>vcbuild testVcBuild.csproj "Debug|Win32"

the out put shows:

Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.21022 Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Build Engine Version 2.0.50727.4927

[Microsoft .NET Framework, Version 2.0.50727.4927]

Copyright (C) Microsoft Corporation 2005. All rights reserved.

I found that the vcbuild.exe always call the "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig .."

the problem is how can I change the Framework version to v3.5? I found my project works fine with the v3.5 but it's broken in the v2.0.50727.

I try to use msbuild.exe instead of vcbuild.exe, everything goes well, I just don't understand how can I make it with the vcbuild.exe?

win7+vs2005+vs2008 installed.

© Stack Overflow or respective owner

Related posts about vcbuild