Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error name with UWP Modern .NET templates #9977

Open
Gaoyifei1011 opened this issue Sep 12, 2024 · 3 comments
Open

Error name with UWP Modern .NET templates #9977

Gaoyifei1011 opened this issue Sep 12, 2024 · 3 comments
Assignees
Labels
appModel-UWP Exclusive to WinUI 2 UWP apps bug Something isn't working product-winui2

Comments

@Gaoyifei1011
Copy link

Describe the bug

Error name with UWP Modern .NET templates

Steps to reproduce the bug

{08AFA661-74DD-46B2-B856-B325A0018C2D}

Expected behavior

Simple name

Screenshots

No response

NuGet package version

WinUI 2 - Microsoft.UI.Xaml 2.8.2

Windows version

Windows 11 (22H2): Build 22621

Additional context

None

@Gaoyifei1011 Gaoyifei1011 added the bug Something isn't working label Sep 12, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Sep 12, 2024
@Sergio0694
Copy link
Member

I think this is expected, that's just the default name that gets pre-populated in the dialog with the template name. But you're meant to always replace that with the actual name you want to use for your project. I'll try asking whether there's a way to explicitly set a different default project name for the dialog in the project template 🙂

@Gaoyifei1011
Copy link
Author

Gaoyifei1011 commented Sep 12, 2024

I think this is expected, that's just the default name that gets pre-populated in the dialog with the template name. But you're meant to always replace that with the actual name you want to use for your project. I'll try asking whether there's a way to explicitly set a different default project name for the dialog in the project template 🙂

In other templates, however, the name displayed is App1
然而在其他模板中,显示的名称为 App1
{9DCF9644-6C7C-44E5-8814-6DACB08CDE8A}
{1B9593E1-A3CC-44A7-98F0-ED9E2393762C}

@Sergio0694
Copy link
Member

Ah, found it, I forgot to set DefaultName for the WAP template. I'll fix it. Thank you! 🙂

@codendone codendone added appModel-UWP Exclusive to WinUI 2 UWP apps product-winui2 and removed needs-triage Issue needs to be triaged by the area owners labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appModel-UWP Exclusive to WinUI 2 UWP apps bug Something isn't working product-winui2
Projects
None yet
Development

No branches or pull requests

3 participants