Skip to content

Commit 8e6e1a9

Browse files
authored
Update 5.0 migration guide for RC1 release (#19853)
1 parent 356a93d commit 8e6e1a9

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

aspnetcore/migration/31-to-50.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: scottaddie
44
description: Learn how to migrate an ASP.NET Core 3.1 project to ASP.NET Core 5.0.
55
ms.author: scaddie
66
ms.custom: mvc
7-
ms.date: 08/26/2020
7+
ms.date: 09/14/2020
88
no-loc: ["ASP.NET Core Identity", cookie, Cookie, Blazor, "Blazor Server", "Blazor WebAssembly", "Identity", "Let's Encrypt", Razor, SignalR]
99
uid: migration/31-to-50
1010
---
@@ -41,7 +41,7 @@ If you rely upon a [global.json](/dotnet/core/tools/global-json) file to target
4141
{
4242
"sdk": {
4343
- "version": "3.1.200"
44-
+ "version": "5.0.100-preview.8.20417.9"
44+
+ "version": "5.0.100-rc.1.20452.10"
4545
}
4646
}
4747
```
@@ -65,6 +65,13 @@ If updating a Blazor WebAssembly project, skip to the [Update Blazor WebAssembly
6565

6666
For Blazor WebAssembly projects, apply the following changes in the project file:
6767

68+
1. Update the SDK from `Microsoft.NET.Sdk.Web` to `Microsoft.NET.Sdk.BlazorWebAssembly`:
69+
70+
```diff
71+
- <Project Sdk="Microsoft.NET.Sdk.Web">
72+
+ <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
73+
```
74+
6875
1. Update the following properties:
6976

7077
```diff
@@ -74,8 +81,6 @@ For Blazor WebAssembly projects, apply the following changes in the project file
7481
- <TargetFramework>netstandard2.1</TargetFramework>
7582
- <RazorLangVersion>3.0</RazorLangVersion>
7683
+ <TargetFramework>net5.0</TargetFramework>
77-
+ <RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
78-
+ <UseBlazorWebAssembly>true</UseBlazorWebAssembly>
7984
</PropertyGroup>
8085
```
8186

@@ -95,9 +100,9 @@ In the project file, update each [Microsoft.AspNetCore.*](https://www.nuget.org/
95100
- <PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="3.1.6" />
96101
- <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="3.1.6" />
97102
- <PackageReference Include="System.Net.Http.Json" Version="3.2.1" />
98-
+ <PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="5.0.0-preview.8.*" />
99-
+ <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0-preview.8.*" />
100-
+ <PackageReference Include="System.Net.Http.Json" Version="5.0.0-preview.8.*" />
103+
+ <PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="5.0.0-rc.1.*" />
104+
+ <PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0-rc.1.*" />
105+
+ <PackageReference Include="System.Net.Http.Json" Version="5.0.0-rc.1.*" />
101106
</ItemGroup>
102107
```
103108

0 commit comments

Comments
 (0)