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 / VB.NET / April 2007

Tip: Looking for answers? Try searching our database.

Publishing a .NET project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave Cullen - 08 Apr 2007 15:01 GMT
The Publish tab in VS 2005 is a pretty nifty feature, but I can't figure out
how to add files that are not directly associated with the application.

I need the target PC to have a specific directory structure with a couple of
essential files. Is there any way to tell the publish thingie to add them
during installation, or is this a complicated matter?

Thanks
RobinS - 09 Apr 2007 02:57 GMT
According to Brian Noyes' book "Smart Client Deployment with ClickOnce"
(which is a brilliant book, by the way):

Add the files to your project (right-click on Solution Explorer,
Add/Existing Item, then add it); set the BuildAction to content.

Then you can set the Publish Status and DownloadGroup in the "Application
Files" under "Publish" to include them.

"When you publish them, the files will be placed in the same relative path
as they exist in the project folder in Visual Studio."

HTH,
Robin S.
-------------------------
> The Publish tab in VS 2005 is a pretty nifty feature, but I can't figure
> out how to add files that are not directly associated with the
[quoted text clipped - 5 lines]
>
> Thanks

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.