How do I prevent the app.config from being integrated into a .net Library (dll)

后端 未结 3 1139
猫巷女王i
猫巷女王i 2021-01-20 03:03

When I compile the library, all the settings in Settings.Settings are integrated into the DLL. how do I prevent this?

3条回答
  •  情话喂你
    2021-01-20 04:01

    View the properties of the Settings.settings file and set the Build Action to Resource, Copy to Output Directory to Do Not Copy.

    This should create you a dll.config file where you can edit the settings outside of building.

提交回复
热议问题