Publishing a .NET project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave Cullen

    #1

    Publishing a .NET project

    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

    #2
    Re: Publishing a .NET project

    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 "Applicatio n
    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.
    -------------------------
    "Dave Cullen" <nospam@mail.co mwrote in message
    news:OZhDtZeeHH A.588@TK2MSFTNG P06.phx.gbl...
    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
    >
    >

    Comment

    Working...