Different .config files for deployment?

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

    #1

    Different .config files for deployment?

    Hi all,

    I'd like to have an App.config file for development, then when I build
    the deployment package (using one of the VS.net projects), i'd like to
    specify a different .config file to install on the user's machine.

    I know i can add a specific file to output, but I have some questions.

    1. I'm including 'primary output' to be installed into a folder in
    program files. If i specify that my production .config file has the
    same 'app.exe.config ', will the installer properly put the file out?

    2. Is there anyway to specify the Target should be <exe_name>.conf ig,
    so that if the Exe name changes I won't have to remember to change the
    setting in the installation project?

    Also, on a related question, is there a way to add a file to a project
    that will be automatically renamed ala the App.config ->
    app.exe.config. . I'd like to have an 'app.manifest' that gets
    automatically renamed to app.exe.manifes t.

    Thanks!
    Andy

Working...