AppConfig file not found in bin directory

后端 未结 2 1678
别跟我提以往
别跟我提以往 2021-01-17 10:35

I have a App.Config file that users can go to and set some settings to run the program. But when I go to bin\\release folder of my program to copy and give them

2条回答
  •  佛祖请我去吃肉
    2021-01-17 10:53

    Is the App.config file set to copy on build? If you right-click on the App.config in VS, and go to Properties, it should be set to 'Content' and 'Copy Always'/'Copy if newer'.

    Here is a screenshot of the Properties screen:

    The App.config properties to check:

提交回复
热议问题