dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.61k stars 25.3k forks source link

[RC1] Update content on how to upgrade from Blazor WebAssembly 3.2 to .NET 5 #19780

Closed danroth27 closed 4 years ago

danroth27 commented 4 years ago

You'll need to update packages, update the project to use the Blazor WebAssembly SDK, and remove the old .Build package.

guardrex commented 4 years ago

@danroth27 ... Scott took care of it ...

Leaving open just in case you want to use this issue to track changes to what's there.

danroth27 commented 4 years ago

Cool! Yeah, we'll need to make some updates to that content for RC1, which is when we're introducing the Blazor WebAssembly SDK.

<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

  <PropertyGroup>
    <TargetFramework>net5.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0-rc.1.20451.17" />
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="5.0.0-rc.1.20451.17" PrivateAssets="all" />
    <PackageReference Include="System.Net.Http.Json" Version="5.0.0-rc.1.20451.14" />
  </ItemGroup>

</Project>