When trying to open the Properties of a WPF application, on the Application page, it gives the following error:
An error occurred trying to load the page. The method or operation is not implemented.
In the Windows Event Viewer I can find this:
Error Information
AppInsightsEvent Name = vs/ml/proppages/appdesigner/prop-page-designer-view-fault
Description = ActivatePage
TelemetrySession = '4a288b83-00d2-4f45-84cf-513352811580' Started = True OptIn=True IsInitialized = True Cloned = False
WatsonEventType = VisualStudioNonFatalErrors2
UTC time = 2019-03-07T10:27:40
Exception: System.NotImplementedException
The method or operation is not implemented.
Microsoft.VisualStudio.Editors.PropertyPages.WPF.ApplicationPropPageVBWPF.StartupObjectOrUri.GetHashCode()
System.Collections.Hashtable.GetHash(Object key)
System.Collections.Hashtable.InitHash(Object key, Int32 hashsize, UInt32& seed, UInt32& incr)
System.Collections.Hashtable.ContainsKey(Object key)
System.Windows.Forms.ComboBox.ComboBoxItemAccessibleObjectCollection.get_Item(Object key)
System.Windows.Forms.ComboBox.ComboBoxUiaProvider.SetComboBoxItemSelection()
System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
Microsoft.VisualStudio.Editors.PropertyPages.WPF.ApplicationPropPageVBWPF.SetSelectedStartupObjectOrUriIntoCombobox(ComboBox combobox, StartupObjectOrUri startupObjectOrUri)
Microsoft.VisualStudio.Editors.PropertyPages.WPF.ApplicationPropPageVBWPF.SetStartupObjectOrUriIntoUI(Control control, PropertyDescriptor prop, Object value)
Microsoft.VisualStudio.Editors.PropertyPages.PropertyControlData.InitPropertyUI()
Microsoft.VisualStudio.Editors.PropertyPages.PropPageUserControlBase.InitPage()
Microsoft.VisualStudio.Editors.PropertyPages.PropPageUserControlBase.SetObjects(Object[] objects)
Microsoft.VisualStudio.Editors.PropertyPages.PropPageUserControlBase.IPropertyPageInternal_SetObjects(Object[] objects)
Microsoft.VisualStudio.Editors.PropertyPages.PropPageBase.Create(IntPtr hWndParent)
Microsoft.VisualStudio.Editors.PropertyPages.PropPageBase.IPropertyPage2_Activate(IntPtr hWndParent, RECT[] pRect, Int32 bModal)
Microsoft.VisualStudio.Editors.PropPageDesigner.PropPageDesignerView.ActivatePage(IPropertyPage PropPage)
It appears this was only a problem for .vbproj
project types.
This was also reported in: