madskristensen / Tweakster

A Visual Studio extension
Apache License 2.0
238 stars 23 forks source link

Errors on VS launch after update to VS 16.11.0 #86

Open MikeFarrington opened 2 years ago

MikeFarrington commented 2 years ago

I get the following in the Extensions Output window on launch of Visual Studio after updating to 16.11.0 (released one day before this issue was created). This is using the latest available 1.1.125 from the extensions manager.


BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:ShowBuildStats dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:DeleteOuputArtifactsOnClean dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:ShowBuildOrder dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:DebugOnF10F11 dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CloseTabOnControlW dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:RunCodeCleanupOnFormat dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CollapseMemberAttributes dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CollapseMemberAttributesShortForm dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:EnableZoomOnScroll dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CopyEmptySelection dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CopyEmptyLines dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:FormatOnMoveLine dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:DefaultZoomLevel dataType:Int32 PropertyType:System.Int32 Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CopyWithoutIndentation dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:WarnOnPaste dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:FocusSolutionExplorerOnProjectLoad dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:AutoSave dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:SaveAllOnBuild dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:EnablePresentationMode dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:EnableSafeMode dataType:Int32 PropertyType:System.Boolean Value:[NULL]
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName)
   at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore)
StevenBonePgh commented 2 years ago

Go to the options, verify they are set to your liking, and close it. This will save the settings to the visual studio registry store in a way that is compatible for the new version.

On Wed, Aug 11, 2021, 10:40 AM Mike Farrington @.***> wrote:

I get the following in the Extensions Output window on launch of Visual Studio after updating to 16.11.0 (released one day before this issue was created). This is using the latest available 1.1.125 from the extensions manager.

BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:ShowBuildStats dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:DeleteOuputArtifactsOnClean dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:ShowBuildOrder dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_01.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:DebugOnF10F11 dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:CloseTabOnControlW dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:RunCodeCleanupOnFormat dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CollapseMemberAttributes dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_01.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:CollapseMemberAttributesShortForm dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:EnableZoomOnScroll dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:CopyEmptySelection dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:CopyEmptyLines dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_01.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:FormatOnMoveLine dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:DefaultZoomLevel dataType:Int32 PropertyType:System.Int32 Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:CopyWithoutIndentation dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:WarnOnPaste dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_01.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:FocusSolutionExplorerOnProjectLoad dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:AutoSave dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:SaveAllOnBuild dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_0`1.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel<Tweakster.Options>.Load CollectionName:Tweakster.Options PropertyName:EnablePresentationMode dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>c__DisplayClass8_01.b0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel`1 baseOptionModel, SettingsStore settingsStore) BaseOptionModel.Load CollectionName:Tweakster.Options PropertyName:EnableSafeMode dataType:Int32 PropertyType:System.Boolean Value:[NULL] System.ArgumentException: Value does not fall within the expected range. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Shell.Settings.ShellSettingsStore.GetInt32(String collectionPath, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.<>cDisplayClass8_01.<CreateSettingsStoreGetMethod>b__0(SettingsStore settingsStore, String collectionName, String propertyName) at Community.VisualStudio.Toolkit.OptionModelPropertyWrapper.Load[TOptMdl](BaseOptionModel1 baseOptionModel, SettingsStore settingsStore)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/madskristensen/Tweakster/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKRUQJX43KAE6SWX4LRTI3T4KDW7ANCNFSM5B6VWZSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

MikeFarrington commented 2 years ago

Yes, thank you, I discovered that on my own and was about to report my findings. Though, after doing so, Visual Studio keeps complaining about this extension's startup time, complaining that it's taking 9s on a very well spec'd computer.