C# DLL config file

后端 未结 17 2388
梦毁少年i
梦毁少年i 2020-11-22 05:05

Im trying to add an app.config file to my DLL, but all attempts have failed.

According to MusicGenesis in \'Putting configuration information in a DLL\' this should

17条回答
  •  遥遥无期
    2020-11-22 05:25

    As Marc says, this is not possible (although Visual Studio allows you to add an application configuration file in a class library project).

    You might want to check out the AssemblySettings class which seems to make assembly config files possible.

提交回复
热议问题