Our project is currently setup with 2 websites, 1 class library inside a solution. Our class library is where we keep all the core components used be either site. It contains an App.Config but no Web.Config.
What I am trying to do is move one of the Web.Config (they're both the same) and move it into the class library and have both sites use a single Web.Config.
I have tried Google but perhaps do not know what to search for or this isn't possible? Can it be done, and how?
如果Web应用程序的构建配置需要不同,为什么不只保留与app.config中包含的类库相关的配置设置并在web.config中覆盖它们呢?
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.