Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2007

Tip: Looking for answers? Try searching our database.

Building solution from the command line

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PLS - 27 Apr 2007 22:53 GMT
I'm trying to build a solution form the command line. The command I'm
currently using is:

"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"  
pciw.sln /Build Debug  /out compile.txt; type compile.txt

That's actually one line.

The solution gets built. Without the /out options I don't see
compilation messages at all. With it, I see them but each line is
prefixed with "1>".

This is annoying. Is there a way to eliminate this prefix?

 Thanks,
   ++PLS
Andrew McDonald - 29 Apr 2007 14:15 GMT
"PLS" <nobody@nowhere.com> wrote...

> I'm trying to build a solution form the command line. The command I'm
> currently using is:
[quoted text clipped - 8 lines]
>
> This is annoying. Is there a way to eliminate this prefix?

Don't you also see these when you build from within the IDE? VS2005 does
partially parallel builds, in that if you have multiple CPUs, cores, or
(IIRC) Hyper-Threading, it will compile more than one project at the same
time. The numbers are telling you which build the message is associated
with. It does also seem to put these in if you're only building a single
project, which I agree is annoying, but not related to using the command
line to do the build I think. Try going to VS options -> Projects and
Solutions -> Build and Run, and setting "maximum number of parallel project
builds" to just 1.

--
Andy

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.