Home Dashboard Directory Help
Search

Visual Studio command line build with v100 toolset does not support /project by hype261


Status: 

Closed
 as By Design Help for as By Design


2
0
Sign in
to vote
Type: Bug
ID: 767214
Opened: 10/12/2012 9:48:23 AM
Access Restriction: Public
2
Workaround(s)
view
2
User(s) can reproduce this bug

Description

Using Visual Studio 2012 and building from the command line using devenv using Platform toolset v100 for the project, the command fails with the following error "The operation could not be completed. The parameter is incorrect."
Details
Sign in to post a comment.
Posted by Microsoft on 10/25/2012 at 4:57 PM
Greetings hype261,
    To get the desired behavior, please use MSBuild on your project's .vcxproj file by typing the following command into the prompt:
-msbuild YourProjectName.vcxproj

Thanks,
Adam Welch
Visual C++
Posted by Microsoft on 10/15/2012 at 1:15 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 10/12/2012 at 9:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by PaulAtSafe on 2/21/2013 at 9:55 AM
The /project option can take a display name. It seems that the issue is that the display name gets an "(Visual Studio 2010)" suffix in this case. I was able to make this work with:

C:\Program Files (x86)\Microsoft Visual Studio 11.0>devenv <path to my sln> /project "<project name> (Visual Studio 2010)" /projectconfig "Release|Win32" /Build�
Posted by hype261 on 10/15/2012 at 9:06 AM
So if you are building from nmake adding devenv Test.sln /build Debug /project Test.vcxproj seems to work. It still doesn't work from the command line.