#1
|
|||
|
|||
Unable to build VS solution from command line
I am new to Visual Build Pro. I try to build VS.Net solution from the command line. I entered command
c:>"c:\program files\VisBuildPro\VisBuildCmd.exe" "C:\Solution\Solution.sln" /nooutput >>c:\temp\buildlog.log I got followin error in the log file: VisBuildCmd, Version 5.0.2.3 Copyright (C) 1999-2003 Kinook Software, Inc. All rights reserved. Error loading project file: Error parsing document 'C:\Solution\Solution.sln': syntax error Can anyone tell me what's wrong and how to fix it? Thank you in advance, Richard Z. |
#2
|
|||
|
|||
First, you need to start the VisBuildPro GUI app and create a new project with a Make VS.NET action (one quick way to do this is by right-clicking the .sln file in Explorer and choosing 'Make with Visual Build Pro'). Configure the step properties as needed, and save the .bld file; then specify the .bld file in your VisBuildCmd command-line call. See 'command-line->console app' for the flags that the console app understands.
|
|
|