Dotnet

Steps to update .NET Core app from v2.1 to v2.2

Here are the steps I took to update a recent project: Install the .NET Core 2.2 SDK from https://dotnet.microsoft.com/download/dotnet-core/2.2. The SDK download will also install the runtime. Update the TargetFramework attribute in the project’s .csproj file: <TargetFramework>netcoreapp2.2</TargetFramework> Run the command line dotnet list package --outdated to find which packages might need to be updated. With certain packages, you’re required to update them or the project won’t compiled (ie dotnet build).