MrFox
MrFox

Reputation: 5126

BUnit razor syntax not recognized

BUnit test syntax not recognized

The blazor documentation describes how this should be done. I tried :

Upvotes: 0

Views: 60

Answers (1)

Link
Link

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

Related Questions