What happens to app.config in a referenced project

后端 未结 4 1808
盖世英雄少女心
盖世英雄少女心 2021-02-19 07:43

Say I have 2 projects, where project A references project B. Project A is a web application project and project B is a class library.

The class library has an app.confi

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-19 08:02

    At runtime, your project B will use the settings of your web application project (the host). So you would have to recopy your settings in the web.config file.

提交回复
热议问题