R
Ricardo A G Almeida
Guest
Hi
Every time I open a HTML page in VS2017 that contains a 'style' tag, I receive the following error:
System.ArgumentNullException: Value cannot be null. Parameter name: value at System.Enum.ToObject(Type enumType, Object value) at Microsoft.VisualStudio.Shell.DialogPage.SetPropertyValue(PropertyDescriptor descriptor, Object automationObject, Object value) at Microsoft.VisualStudio.Shell.DialogPage.LoadSettingFromStorage(PropertyDescriptor prop) at Microsoft.VisualStudio.Shell.DialogPage.LoadSettingsFromStorage() at Microsoft.VisualStudio.Shell.DialogPage.set_Site(ISite value) at System.ComponentModel.Container.Add(IComponent component, String name) at System.ComponentModel.Container.Add(IComponent component) at Microsoft.VisualStudio.Shell.Package.GetDialogPage(Type dialogPageType) at Microsoft.VisualStudio.Html.Package.Package.CSS.CssPackage.GetAutomationObject(String name) at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.GetAutomationObject(String propName, Object& auto) at Microsoft.VisualStudio.Web.Editor.Package.Settings.Common.WebSettingsStorageWithDialog.LoadFromStorage() at Microsoft.Web.Editor.Host.WebEditor.GetSettings(String contentTypeName) at Microsoft.CSS.Editor.Settings.CssSettings.get_Storage() at Microsoft.VisualStudio.Html.Package.TaskList.CSS.CssErrorTaskProvider..ctor(ITextView textView, ITextBuffer textBuffer) at Microsoft.VisualStudio.Html.Package.TaskList.CSS.CssErrorTaskProvider.Attach(ITextView textView, ITextBuffer textBuffer) at Microsoft.VisualStudio.Html.Package.TaskList.CSS.ErrorTaskSetup.OnTextViewCreated(ITextView textView, ITextBuffer textBuffer) at Microsoft.Web.Editor.Controller.TextViewConnectionListener.<>c__DisplayClass30_1.<OnTextViewGotAggregateFocus>b__0() at Microsoft.Web.Editor.Utility.GuardedOperations.InvokeExtensionPoint(Object errorSource, Action action) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Also, when trying to open the Tools > CSS Advanced settings, I receive this error:

I believe that some synced setting is causing this issue, because it still happens even after a fresh clean setup of both Windows and VS2017, and only after I log in on VS2017.
How can I fully delete all my VS2017 synced settings?
Continue reading...
Every time I open a HTML page in VS2017 that contains a 'style' tag, I receive the following error:
System.ArgumentNullException: Value cannot be null. Parameter name: value at System.Enum.ToObject(Type enumType, Object value) at Microsoft.VisualStudio.Shell.DialogPage.SetPropertyValue(PropertyDescriptor descriptor, Object automationObject, Object value) at Microsoft.VisualStudio.Shell.DialogPage.LoadSettingFromStorage(PropertyDescriptor prop) at Microsoft.VisualStudio.Shell.DialogPage.LoadSettingsFromStorage() at Microsoft.VisualStudio.Shell.DialogPage.set_Site(ISite value) at System.ComponentModel.Container.Add(IComponent component, String name) at System.ComponentModel.Container.Add(IComponent component) at Microsoft.VisualStudio.Shell.Package.GetDialogPage(Type dialogPageType) at Microsoft.VisualStudio.Html.Package.Package.CSS.CssPackage.GetAutomationObject(String name) at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.GetAutomationObject(String propName, Object& auto) at Microsoft.VisualStudio.Web.Editor.Package.Settings.Common.WebSettingsStorageWithDialog.LoadFromStorage() at Microsoft.Web.Editor.Host.WebEditor.GetSettings(String contentTypeName) at Microsoft.CSS.Editor.Settings.CssSettings.get_Storage() at Microsoft.VisualStudio.Html.Package.TaskList.CSS.CssErrorTaskProvider..ctor(ITextView textView, ITextBuffer textBuffer) at Microsoft.VisualStudio.Html.Package.TaskList.CSS.CssErrorTaskProvider.Attach(ITextView textView, ITextBuffer textBuffer) at Microsoft.VisualStudio.Html.Package.TaskList.CSS.ErrorTaskSetup.OnTextViewCreated(ITextView textView, ITextBuffer textBuffer) at Microsoft.Web.Editor.Controller.TextViewConnectionListener.<>c__DisplayClass30_1.<OnTextViewGotAggregateFocus>b__0() at Microsoft.Web.Editor.Utility.GuardedOperations.InvokeExtensionPoint(Object errorSource, Action action) --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Also, when trying to open the Tools > CSS Advanced settings, I receive this error:

I believe that some synced setting is causing this issue, because it still happens even after a fresh clean setup of both Windows and VS2017, and only after I log in on VS2017.
How can I fully delete all my VS2017 synced settings?
Continue reading...