Where is the data for Properties.Settings.Default saved?

后端 未结 3 1070
谎友^
谎友^ 2020-12-13 02:34

In my WPF application, I click on Settings.settings in the Solution Explorer and enter a StringCollection variable with a User

3条回答
  •  萌比男神i
    2020-12-13 03:01

    I stumbled across an easy way to find the path(s).

    1. Open the Application Properties.
    2. Under the "Application" tab, select "Assembly Information...".
    3. Change the value of "Company". Select OK to save.
    4. Select the "Settings" application properties tab.
    5. Select "Synchronize" (first button in the options at the top of the tab).
      You should then receive a Visual Studio information dialogue saying "No user.config files were found in any of the following locations:" followed by a list of locations where the settings are saved.

提交回复
热议问题