Excluding config files RRS feed

  • Question

  • User473447906 posted

    I have various config files which I am using to replace sections of my web config.  All of these are stored under a \ConfigFiles\ Directory.  I don't want these files included in the final build, just the web config that is produced from them. How do I get them into the web config and then exclude them?  When I put them in the ExcludeFromBuild section I get an error saying it doesn't know where they are.

    Any help is much appreciated.


    Thursday, January 4, 2007 4:43 PM

All replies

  • User-946084830 posted


    Right click on the primary output in your setup project and click on Exclude Filter link. Here you can specify the files that you want to include in the final setup.exe.

    Friday, January 5, 2007 12:46 PM