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 / Languages / Managed C++ / July 2006

Tip: Looking for answers? Try searching our database.

vcbuild syntax - how to use $ALL?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jpetrang@harris.com - 26 Jul 2006 20:28 GMT
Can you tell me if the vcbuild $ALL is the same as the msdev ALL?  If
so, how do I use it?
I have a VS 6.0 command "msdev ProjectName.dsw /make ALL /clean" which,
I believe, builds all the .dsp configurations in the .dsw file. I'm
trying to figure out how to accomplish the same thing using vcbuild.
However, putting in $ALL, ALL, "$ALL" and any other variation I can
think of do not work. Help? What is the proper syntax?

I have already used the new VC++ to open the .dsw file and convert it
to .sln with .vcproj files, and I'm trying to use vcbuild on the
ProjectName.sln file in a similar way.

If vcbuild will not accomplish that, would devenv be a better choice?

A separate questions: I've read that vcbuild has problems with pre
build events, generated cpp files, or projects which have more than one
level of depencency, and that /rebuild should alleviate
"most" issues. Do you know if this is still the case?

Thanks,
JeanneP

PS: responding via email will bounce. Please post. Thank you!
Pavel A. - 27 Jul 2006 18:07 GMT
Try the msbuld forum:
http://forums.microsoft.com/msdn/showforum.aspx?forumid=27&siteid=1

Regards,
--PA

> Can you tell me if the vcbuild $ALL is the same as the msdev ALL?  If
> so, how do I use it?
[quoted text clipped - 19 lines]
>
> PS: responding via email will bounce. Please post. Thank you!
Carl Daniel [VC++ MVP] - 28 Jul 2006 04:18 GMT
> Can you tell me if the vcbuild $ALL is the same as the msdev ALL?  If
> so, how do I use it?
[quoted text clipped - 7 lines]
> to .sln with .vcproj files, and I'm trying to use vcbuild on the
> ProjectName.sln file in a similar way.

Just type vcbuild /? at the command prompt for lots of friendly help.

In your case, the equivalent to

msdev /make ALL /clean

is something along the lines of

vcbuild /rebuild mysolution.sln "Release|Win32"

> If vcbuild will not accomplish that, would devenv be a better choice?

You can use devenv - it just calls vcbuild to build the C++ projects, but it
can also build MSBuild projects and other visual studio projects that are
neither of the above (e.g. visual studio deployment projects).

> A separate questions: I've read that vcbuild has problems with pre
> build events, generated cpp files, or projects which have more than
> one level of depencency, and that /rebuild should alleviate
> "most" issues. Do you know if this is still the case?

I haven't heard of those issues, so I can't help you there.

-cd

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.