Closed ChrisSchaller closed 10 months ago
Pull requests are welcome in this direction
Added Pull Request https://github.com/MudBlazor/Templates/pull/410
How can I use the new template? I assume that it was not released yet?
When I do $ dotnet new install MudBlazor.Templates
, I will get
The following template packages will be installed:
MudBlazor.Templates
Success: MudBlazor.Templates::0.6.3 installed the following templates:
Template Name Short Name Language Tags
------------------- ---------- -------- --------------------------------------
MudBlazor Templates mudblazor [C#] Blazor/Desktop/macOS/Windows/Cloud/Web
Running $ dotnet new mudblazorwebapp --interactivity Auto --auth Individual
results in:
No templates or subcommands found matching: 'mudblazorwebapp'.
To list installed templates similar to 'mudblazorwebapp', run:
dotnet new list mudblazorwebapp
To search for the templates on NuGet.org, run:
dotnet new search mudblazorwebapp
How can I use the new template? I assume that it was not released yet?
No, it was not yet released (https://github.com/MudBlazor/Templates/pull/410#issuecomment-1834131987)
You can clone the repository and install it this way
dotnet new install ./Templates/src/MudBlazorWebTemplate
How can I use the new template? I assume that it was not released yet?
No, it was not yet released (#410 (comment))
You can clone the repository and install it this way
dotnet new install ./Templates/src/MudBlazorWebTemplate
Thanks, this worked for me. However it does not work in Rider. It only works in Visual Studio. This may be due to Rider not fully supporting net8.0
yet.
The error I got in Rider was AppName.Client.exe
does not exist. When I switched to VS it loaded just fine :)
They are updated and released now with some changes, check the new readme.
Templates is a great way to communicate best practises and project setup, however these templates use the v6 runtimes of MudBlazor (and .Net) and the upgrade to .net 7 leaves a bit of a mess. Can we please have updated versions of the templates for the current runtimes?