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 / September 2004

Tip: Looking for answers? Try searching our database.

Macro to copy project output?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg Allen - 13 Sep 2004 02:45 GMT
I'd like to make a macro to copy the project outputs of all the projects
in my solution to a different folder.  Seems simple enough, and something
that the automation of the IDE ought to be able to give me pretty easily.

But I can't find out where to get the project output!  I've looked at the
project object (DTE-Projects->Project), but can't find anything in
there that represents the project output!

I'm sure it's there somewhere.  Can anyone tell me how to find it?

Thanks,

-- Greg Allen
gallen@arrayinc.com
Carlos J. Quintero [MVP] - 13 Sep 2004 14:25 GMT
The output file name, which is not configuration dependent is returned by
Project.Properties.Item("OutputFilename").Value

The output folder, which is configuration dependent, is returned by
Project.ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath
").Value

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)

> I'd like to make a macro to copy the project outputs of all the projects
> in my solution to a different folder.  Seems simple enough, and something
[quoted text clipped - 10 lines]
> -- Greg Allen
> gallen@arrayinc.com

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.