Publishing a .NET project

D

Dave Cullen

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
 
R

RobinS

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top