1

I have installed dotnet SDK 3.1.201 to Microsoft Visual Studio Professional 2019 Version 16.5.4 and I installed this template dotnet new -i Microsoft.AspNetCore.Components.WebAssembly.Templates::3.2.0-preview5.20216.8 after that I statred to create a new Blazor project in VS just only contains the Blazor Server App template I didn't find the Blazor WebAssembly App template what is wrong with all steps that I have done.

3 Answers 3

1

You need the preview version of Visual Studio (16.6)

If you’re on Windows using Visual Studio, we recommend installing the latest preview of Visual Studio 2019 16.6. For this preview, you should still install the template from the command-line as described above to ensure that the Blazor WebAssembly template shows up correctly in Visual Studio and on the command-line.

https://devblogs.microsoft.com/aspnet/blazor-webassembly-3-2-0-preview-5-release-now-available/

Sign up to request clarification or add additional context in comments.

2 Comments

Hey @Inktkiller I can install another template ? and not use the latest version of VS what is your recommendation if I not install VS 16.6 is there anyway to use Blazor WebAssembly template ? thanks
@MR_WELL you could try the CLI commands like dotnet new blazorwasm -o WebApplication1 learn.microsoft.com/en-us/aspnet/core/blazor/…
0

I have the same problem when I tried to install the template, my problem was I made a simple Nuget package for myself but it was deleted in Nuget Package Manager if you have any package that not available please delete it. I have this error during install the Blazor template ( error : The local source 'C:\Users\mypc\Desktop\dotnet-standard-getting-started\demos\Testingapp.Storage\bin\Debug' doesn't exist. ) Tools ---> Options ---> under Nuget Package Managerenter image description here

Comments

0

Before you select Blazor project type (Server or Web-Assembly step) just flip between frameworks (3.0 and 3.1), the menu will be updated and you will be able to see WASM Blazor version:

enter image description here

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.