Where are My.Settings saved in VB 2010 .NET?

前端 未结 4 1698
有刺的猬
有刺的猬 2020-11-29 10:19

Are My.Settings values saved in the program itself or do they get stored in the registry? So, for example, if I set a My.Settings value with a prog

4条回答
  •  -上瘾入骨i
    2020-11-29 11:01

    If you have installed your application using clickonce then your MySettings will be stored in a config file which is stored at `C:\Users\\AppData\Local\Apps\2.0\Data........

    search in these path with a file named as yourapp.exe.config

    The thing is MySettings will be stored in app.config file of that application and after publishing the app.config file is saved as applicationname.exe.config file

提交回复
热议问题