Can a class library have an App.config file?

后端 未结 7 1113
别跟我提以往
别跟我提以往 2020-11-27 04:04

Here is what my solution is looking like at the moment:

\"enter

In the Tutomen

7条回答
  •  死守一世寂寞
    2020-11-27 04:44

    Just create your own XML file, name it appConfig.xml or something similar, have your class library read the file using System.Xml instead of System.Configuration, and package the file along with your dll.

提交回复
热议问题