Reputation: 5126
The blazor documentation describes how this should be done. I tried :
Upvotes: 0
Views: 60
Reputation: 1711
Make sure that your csproj files begins like this:
<Project Sdk="Microsoft.NET.Sdk.Razor">
The default when you create a new unit test project is "just" Microsoft.NET.Sdk
.
Upvotes: 0