Error Creating new Uno Application #19175
Replies: 1 comment 1 reply
-
Looking at https://aka.ms/.templating-exit-codes#103, it would appear that I need to uninstall some template using dotnet new list, I come up with the following list of installed templates `Template Name Short Name Language Tags API Controller apicontroller [C#] Web/ASP.NET Which templates should I de-install?` |
Beta Was this translation helpful? Give feedback.
-
I upgraded my Uno templates: dotnet new -i Uno.ProjectTemplates.Dotnet
I then used the Wizard to specify a new UnoApp: dotnet new unoapp -o UnoSudoku -preset "recommended" -tfm "net9.0" -platforms "desktop" -theme-service False -presentation "mvvm" -nav "blank" -http False -tests "unit" -dsp False
When I run the above command, the following messages appears
`dotnet new unoapp -o UnoSudoku -preset "recommended" -tfm "net9.0" -platforms "desktop" -theme-service False -presentation "mvvm" -nav "blank" -http False -tests "unit" -dsp False
Unable to resolve the template, the following installed templates are conflicting:
Identity Template Name Short Name Language Author Package
Uno.Platform.Blank.WinUI.netcoremobile Multi-Platform ... unoapp C# Uno Platform Uno.ProjectTemplates.Dotnet
Uno.Platform.UnoApp.WinUI.netcoremobile Uno Platform App unoapp C# Uno Platform Uno.Templates
Uninstall the template packages containing the templates to keep only one template from the list or add the template options which differentiate the template to run.
For details on the exit code, refer to https://aka.ms/templating-exit-codes#103
I had no problem creating new applications with the Wizard before updating my Uno Project Templates
Please advise`
Beta Was this translation helpful? Give feedback.
All reactions