From 23fb22fddd70178f997832d5b9ec298839bc00ae Mon Sep 17 00:00:00 2001 From: Pranav K Date: Tue, 3 Sep 2019 12:57:38 -0700 Subject: [PATCH] Migration notes for API analyzers (#14086) * Migration notes for API analyzers * Apply suggestions from code review Co-Authored-By: Scott Addie <10702007+scottaddie@users.noreply.github.com> * update ms.date value --- aspnetcore/migration/22-to-30.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/aspnetcore/migration/22-to-30.md b/aspnetcore/migration/22-to-30.md index d0e227474a..445c97bb65 100644 --- a/aspnetcore/migration/22-to-30.md +++ b/aspnetcore/migration/22-to-30.md @@ -4,7 +4,7 @@ author: rick-anderson description: Learn how to migrate an ASP.NET Core 2.2 project to ASP.NET Core 3.0. ms.author: riande ms.custom: mvc -ms.date: 08/26/2019 +ms.date: 09/03/2019 uid: migration/22-to-30 --- # Migrate from ASP.NET Core 2.2 to 3.0 @@ -41,6 +41,14 @@ This article explains how to update an existing ASP.NET Core 2.2 project to ASP. * Remove any `` to the [Microsoft.AspNetCore.Razor.Design](https://www.nuget.org/packages/Microsoft.AspNetCore.Razor.Design/) package. +* If your application uses [API analyzers](xref:web-api/advanced/analyzers), remove any `` element for the [Microsoft.AspNetCore.Mvc.Api.Analyzers](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Api.Analyzers/) package. Edit your project file to use the analyzer shipped as part of the .NET Core SDK: + +```xml + + true + +``` + * Update the `Version` attribute on remaining `` elements for `Microsoft.AspNetCore.*` packages to the current preview (for example, `3.0.0-preview5-19227-01`). If there's no 3.0 version of a package, the package might have been deprecated in 3.0. Many of these packages are part of `Microsoft.AspNetCore.App` and shouldn't be referenced individually. For a preliminary list of packages no longer produced in 3.0, see [Stop producing packages for shared framework assemblies in 3.0 (aspnet/AspNetCore #3756)](https://github.com/aspnet/AspNetCore/issues/3756). The *shared framework* is the set of assemblies (*.dll* files) that are installed on the machine and referenced by `Microsoft.AspNetCore.App`. For more information, see [The shared framework](https://natemcmaster.com/blog/2018/08/29/netcore-primitives-2/).