MudBlazor / Templates

Ready to use Blazor Templates in different styles and layout with all the basic setup already done for MudBlazor.
MIT License
745 stars 165 forks source link

When will the template be upgraded to .Net 7 (or 8) #389

Closed ChrisSchaller closed 10 months ago

ChrisSchaller commented 1 year ago

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?

ScarletKuro commented 1 year ago

Pull requests are welcome in this direction

mahald commented 1 year ago

Added Pull Request https://github.com/MudBlazor/Templates/pull/410

MatejMarecek commented 1 year ago

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
ScarletKuro commented 1 year ago

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

jeffward01 commented 12 months ago

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 :)

Garderoben commented 10 months ago

They are updated and released now with some changes, check the new readme.