Skip to content

First open of build property page after project creation asserts #1378

@333fred

Description

@333fred
  1. Create a new project (I've been using .net core console app)
  2. Open Properties->Build

Expected:
Property page is opened.

Actual:
Assert on OutputTypeEx.

"How could this property get successfully retrieved from one page but be IsMissing in another?"
>	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropertyPages.PropPageUserControlBase.GetCurrentProperty(Integer dispid, String PropertyName, Object obj) Line 657	Basic
 	Microsoft.VisualStudio.Editors.dll!Microsoft.VisualStudio.Editors.PropertyPages.BuildPropPageBase.IsPrefer32BitSupportedForOutputType() Line 57	Basic
 	Microsoft.VisualStudio.Editors.dll!Microsoft.VisualStudio.Editors.PropertyPages.BuildPropPageBase.IsPrefer32BitSupported() Line 93	Basic
 	Microsoft.VisualStudio.Editors.dll!Microsoft.VisualStudio.Editors.PropertyPages.BuildPropPageBase.RefreshEnabledStatusForPrefer32Bit(System.Windows.Forms.CheckBox control) Line 112	Basic
 	Microsoft.VisualStudio.Editors.dll!Microsoft.VisualStudio.Editors.PropertyPages.BuildPropPage.PostInitPage() Line 160	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropertyPages.PropPageUserControlBase.InitPage() Line 2363	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropertyPages.PropPageUserControlBase.SetObjects(Object() objects) Line 1390	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropertyPages.PropPageUserControlBase.IPropertyPageInternal_SetObjects(Object() objects) Line 1122	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropertyPages.PropPageBase.Create(System.IntPtr hWndParent) Line 666	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropertyPages.PropPageBase.IPropertyPage2_Activate(System.IntPtr hWndParent, Microsoft.VisualStudio.OLE.Interop.RECT() pRect, Integer bModal) Line 285	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropPageDesigner.PropPageDesignerView.ActivatePage(Microsoft.VisualStudio.OLE.Interop.IPropertyPage PropPage) Line 547	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.PropPageDesigner.PropPageDesignerView.Init(EnvDTE.Project DTEProject, Microsoft.VisualStudio.OLE.Interop.IPropertyPage PropPage, Microsoft.VisualStudio.Editors.ApplicationDesigner.PropertyPageSite PropPageSite, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy Hierarchy, Boolean IsConfigPage) Line 458	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.ApplicationDesigner.ApplicationDesignerView.ShowTab(Integer Index, Boolean ForceShow) Line 1086	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.ApplicationDesigner.ApplicationDesignerView.OnItemClick(Microsoft.VisualStudio.Editors.ApplicationDesigner.ProjectDesignerTabButton item) Line 1234	Basic
 	Microsoft.VisualStudio.AppDesigner.dll!Microsoft.VisualStudio.Editors.ApplicationDesigner.ProjectDesignerTabButton.OnClick(System.EventArgs e) Line 121	Basic

The "Prefer 32-bit" checkbox is enabled. Future opens of the property page, and future reopens of the project, do not demonstrate this issue, and the "Prefer 32-bit" checkbox is disabled on those opens.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions