Exclude MyApp.exe.Config from Setup

R

Rajesh Abraham

I would like to Exclude MyApp.Exe.Config from my Setup
Package as I don't want it to get overwritten during
upgrade installation of my application.

If I remove app.config while building the setup, it
removes existing app.config on the target machines and if
included, it overwrites the existing ones.

I tried editing the msi package and removing the
app.config file from the table but it did not work. Any
Idea?

Thanks,

Rajesh Abraham Chacko
 
D

David Guyer [MS]

Try using the ExcludeFilter property on the Project Output group, you can
exclude *.config.
 

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