Update 22-to-30.md (#10762)

pull/10775/head
Rick Anderson 2019-02-01 20:04:45 -10:00 committed by Luke Latham
parent 485f735aa6
commit fe0f27d25d
1 changed files with 0 additions and 10 deletions

View File

@ -25,16 +25,6 @@ This article explains how to update an existing ASP.NET Core 2.2 project to ASP.
* Remove any `<PackageReference>` to the [Microsoft.AspNetCore.All](xref:fundamentals/metapackage) or [Microsoft.AspNetCore.App](xref:fundamentals/metapackage-app) metapackage.
There's a known issue in Preview 1: projects that don't start with `<Project Sdk="Microsoft.NET.Sdk.Web">` get compiler or runtime errors due to missing `Microsoft.AspNetCore.*` assemblies. This is most often the case for test projects and class libraries. The workaround is to add the following to the *.csproj* file.
```xml
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
```
For more information, see [NuGet/Home issue #7342](https://github.com/NuGet/Home/issues/7342).
* Update the `Version` on remaining `<PackageReference>` elements for `Microsoft.AspNetCore.*` packages to the current preview (for example, 3.0.0-preview-18579-0053).
If there is no 3.0 version of a package, the package might have been deprecated in 3.0. Many of these are part of `Microsoft.AspNetCore.App` and should not be referenced individually anymore. For a preliminary list of packages no longer produced in 3.0, see [aspnet/AspNetCore #3756](https://github.com/aspnet/AspNetCore/issues/3756).