25 lines
1.2 KiB
Markdown
25 lines
1.2 KiB
Markdown
---
|
|
no-loc: [Home, Privacy, Kestrel, appsettings.json, "ASP.NET Core Identity", cookie, Cookie, Blazor, "Blazor Server", "Blazor WebAssembly", "Identity", "Let's Encrypt", Razor, SignalR]
|
|
---
|
|
If you get a scaffolding error, verify the Target Framework Moniker (TFM) matches the NuGet package version in the project file. For example, the following project file uses version 5.0 for .NET and the listed NuGet packages:
|
|
|
|
```xml
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="5.0.0-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.0-*" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="5.0.0-*" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.0-*" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.0-*" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.0-*" />
|
|
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="5.0.0-*" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
```
|