Skip to content

Commit c0c8625

Browse files
authored
create migration to 2.1 topic (#5967)
* create migration to 2.1 topic * feedback * feedback
1 parent 5ec8712 commit c0c8625

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

docs/core/migration/20-21.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Migrate from .NET Core 2.0 to 2.1
3+
description: Learn how to upgrade your .NET Core 2.0 app to 2.1.
4+
author: mairaw
5+
ms.author: mairaw
6+
ms.date: 06/18/2018
7+
---
8+
# Migrate from .NET Core 2.0 to 2.1
9+
10+
This article shows you the basic steps for migrating your .NET Core 2.0 app to 2.1. If you're looking to migrate your ASP.NET Core app to 2.1, see [Migrate from ASP.NET Core 2.0 to 2.1](/aspnet/core/migration/20_21).
11+
12+
For an overview of the new features in .NET Core 2.1, see [What's new in .NET Core 2.1](../whats-new/dotnet-core-2-1.md).
13+
14+
## Update the project file to use 2.1 versions
15+
16+
* Open the project file (the \*.csproj, \*.vbproj, or \*.fsproj file).
17+
18+
* Change the [target framework](../../standard/frameworks.md) value from `netcoreapp2.0` to `netcoreapp2.1`. The target framework is defined by the `<TargetFramework>` or `<TargetFrameworks>` element.
19+
20+
For example, change `<TargetFramework>netcoreapp2.0</TargetFramework>` to `<TargetFramework>netcoreapp2.1</TargetFramework>`.
21+
22+
* Remove `<DotNetCliToolReference>` references for tools that are bundled in the .NET Core 2.1 SDK (v 2.1.300 or later). These references include:
23+
24+
* [dotnet-watch](https://github.com/aspnet/DotNetTools/blob/dev/src/dotnet-watch/README.md) (Microsoft.DotNet.Watcher.Tools)
25+
* [dotnet-user-secrets](https://github.com/aspnet/DotNetTools/blob/dev/src/dotnet-user-secrets/README.md) (Microsoft.Extensions.SecretManager.Tools)
26+
* [dotnet-sql-cache](https://github.com/aspnet/DotNetTools/blob/dev/src/dotnet-sql-cache/README.md) (Microsoft.Extensions.Caching.SqlConfig.Tools)
27+
* [dotnet-ef](/ef/core/miscellaneous/cli/dotnet) (Microsoft.EntityFrameworkCore.Tools.DotNet)
28+
29+
## See also
30+
31+
[Migrate from ASP.NET Core 2.0 to 2.1](/aspnet/core/migration/20_21)
32+
[What's new in .NET Core 2.1](../whats-new/dotnet-core-2-1.md)

docs/toc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
### [Dependency management](core/tools/dependencies.md)
9292
### [Additions to the csproj format](core/tools/csproj.md)
9393
## Migration
94+
### [.NET Core 2.0 to 2.1](core/migration/20-21.md)
9495
### [Migration to csproj format](core/migration/index.md)
9596
### [Mapping between project.json and csproj](core/tools/project-json-to-csproj.md)
9697
### [Migrating from DNX](core/migration/from-dnx.md)

0 commit comments

Comments
 (0)