Visual Studio 2013 Settings Manager GetReadOnlySettingsStore throws Exception -


i'm writing visual studio extension , need list of property pages given category.

given "texteditor" following list returned.

  • general
  • alllanguages
  • basic
  • csharp
  • etc.

the vs environment object dte makes easy page properties, provides no easy method pages.

vsenvironment.get_properties("texteditor", pagename); 

the values i'm after stored in registry visual studio provides settings store hoping me list.

i've set following:

var settingsmanager = new shellsettingsmanager(this); //serviceprovider.globalprovider var usersettingsstore = settingsmanager.getreadonlysettingsstore(settingsscope.usersettings); 

however getreadonlysettingsstore throws following exception.

the type 'microsoft.visualstudio.settings.settingsscope' exists in both 'microsoft.visualstudio.shell.12.0.dll' , 'microsoft.visualstudio.shell.11.0.dll' 

it looks mads kristensen has used successfully still can't tell what's wrong.

i avoid bypassing api's visual studio provides. has used settingsmanager or know method list?


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -