Skip to content

When can you remove the nonsense code in Blank Window and Blank Page templates in C++ project? #10387

@HO-COOH

Description

@HO-COOH

Describe the bug

At this point, I am just mad. Why do I have to waste my 30 seconds worth of time to remove the StackPanel with Click me Button and Int32 MyProperty everytime I create a new BLANK PAGE and BLANK WINDOW?
What even does BLANK mean?

Image

Imaging this:
You are quickly trying out some quick xaml. So you create a new "BLANK WINDOW", and remove the nonsense StackPanel, add a Grid (because Grid is always good), and some other code. Now you build (you should know how slow it is to build C++ project). It fails, of course because there is a myButton() call, which it does not find. You remove it, together with Int32 MyProperty, now you build again, another 5 minutes wasted. How can any reasonable tooling provides this kind of experience?

Steps to reproduce the bug

n/a

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6.5: 1.6.250205002

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-ProjectSystembugSomething isn't workingneeds-triageIssue needs to be triaged by the area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions