Visual Studio Add-in application settings
-
2012年4月27日 17:47I'm developing an add-in for visual studio and I need to store user settings from session to session. I've read that the standard .net application settings does not work with unmanaged applications like visual studio addins (http://msdn.microsoft.com/en-us/library/k4s6c3a0.aspx). Is this true? If so is there a good way to store user settings from session to session in a Visual Studio Addin?
すべての返信
-
2012年5月1日 6:25
If we want to persist changes to user settings between application sessions , we can call theSettings.Save method. But if we use the Settings.Save method, the changed settings are saved in the User.config file . which located in
C:\Users\ (your user name) \AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0
or
C:\Users\(your user name) \AppData\Local\Microsoft_Corporation\Microsoft.VisualStudio.Sd_StrongName_xmcaorubfhmecwzepoasgrhczbtohvkz\9.0.0.0
Reference:
http://msdn.microsoft.com/en-us/library/aa730869(v=vs.80).aspx
- 回答としてマーク lucy-liuModerator 2012年5月4日 6:56
-
2012年5月4日 6:56モデレータ
Hi rmcglaughlin,
I temporary make breathfish's reply as answer. You can unmark it if they provide no help.
Thank you for your understanding!
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us

