简体   繁体   中英

configsource and installer

I have an project csproj, with app.config file, and logging Ent.Library section using configsource attribute. The logging section is in ahother file Config\\loggingconfiguration.config.

I have a Installer Project for this csproj. But when I generate , the file loggingconfiguration.config is NOT include.

Any suggestions?

Did you check the properties of your file in the solution explorer? If you want to see it deployed the Build Action property should be "Content"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM