Skip to content

Error while loading project properties - WinUI 3 preview 3 - Packaged Desktop App #6928

@sjb-sjb

Description

@sjb-sjb

Opening this issue here as requested.


Using: Visual Studio Version 16.9.0 Preview 2.0, WinUI 3 preview 3

Steps to reproduce

  1. Create a new project using the "Blank App, Packaged (WinUI in Desktop)" template.
  2. Right-click on the Package project and select "Properties" at the bottom of the context menu.

Expected

Should open the properties window for the project

Actual

An exception message occurs as follows:

An error occurred while loading the project properties editor

System.ArgumentException: Incorrect number of property values given the dimension matrix
Parameter name: properties
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.PropertyPages.Designer.PropertyContext..ctor(ConfigurationMatrix configurationMatrix, ImmutableArray`1 properties, IPropertyValueChangeHandler changeHandler, JoinableTaskFactory jtf)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.PropertyPages.Designer.ProjectPropertiesEditor.<.ctor>g__CreatePropertyContext|0_2(IProject project, JoinableTaskFactory jtf)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.PropertyPages.Designer.ProjectPropertiesEditor.<>c__DisplayClass0_0.<<-ctor>g__LoadPropertyContextAsync|1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.PropertyPages.Designer.ProjectPropertiesEditor.<>c__DisplayClass0_0.<<-ctor>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.PropertyPages.Designer.AsyncLoadContent.<>c__DisplayClass0_0.<b__0>d.MoveNext()

Metadata

Metadata

Assignees

Labels

Feature-Project-Properties-DesignerThe new project property pages which replace the legacy AppDesignerTriage-InvestigateReviewed and investigation needed by dev team

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions