1

It seems like a fairly easy Task, but for some reason Visual Studio does not show me any Blazor templates besides the server-side hosting model.

  • My .Net Core version: 3.0.100-preview6-012264 from dotnet --version.
  • My Visual Studio 2019 version: 16.1.6.

enter image description here

Then I tried it in the CLI with the following command dotnet new blazorhosted like shown in the MSDN. It will only bring up the following error No templates matched the input template name: blazorhosted. and a list of available templates. But I did manage to create the 'client-side' hosting-model e.g. dotnet new blazor, which isn't displayed in VS as well.

I also tried to reinstall .Net Core Preview 6 as well as Visual Studio 2019, but with no success

0

1 Answer 1

4

I think you will need to first install the new blazor template:

dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview6.19307.2
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.