microsoft / TemplateStudio

Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.
Other
2.71k stars 461 forks source link

Remove all designer references from WinUI 3 / WASDK templates #4646

Closed kmgallahan closed 1 year ago

kmgallahan commented 1 year ago

All designer references should be removed from the WinUI 3 / WASDK templates.

Ergo, the references are useless at best, and misleading + distracting at worst.

mrlacey commented 1 year ago

There are separate templates for UWP

I'm not sure how this is relevant

There is no designer for WinUI 3 / WASDK

yet....

There are no plans to make a designer for WinUI 3 / WASDK

As publicly announced by Microsoft. Plans of 3rd parties who are (or may) be working on such a designer should also be considered.

Ergo, the references are useless at best, and misleading + distracting at worst.

I'd argue that there's currently limited value in their inclusion, but note that the mc:Ignorable attribute can be (& often is) used for more than to indicate that the d alias can be ignored. I find having it there in the templates to be useful

I understand the frustration that the lack of a designer can cause many people but I don't see any real benefit in making the change that is proposed here. In the way that this proposal is worded, I think it is very unlikely to be accepted as doing so would indicate that Microsoft definitely will never create such a design tool and doesn't want to make it easy for anyone else to create such either.

kmgallahan commented 1 year ago

I understand the frustration that the lack of a designer can cause many people

I'm not frustrated by the lack of a designer as I've never found them particularly useful.

I just created a project from the templates and saw all these references (which my code formatter removes as a cleanup step) and thought: why are these being added to WinUI files? It is comparable to inserting 3 using statements for unused namespaces at the top of all the C# files.

Your choice though.