-
Notifications
You must be signed in to change notification settings - Fork 6.1k
create migration to 2.1 topic #5967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
docs/core/migration/20-21.md
Outdated
| @@ -0,0 +1,33 @@ | |||
| --- | |||
| title: Migrate from NET Core 2.0 to 2.1 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: missing dot in ".NET Core"
docs/core/migration/20-21.md
Outdated
| ms.author: mairaw | ||
| ms.date: 06/15/2018 | ||
| --- | ||
| # Migrate from NET Core 2.0 to 2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: missing dot in ".NET Core"
docs/core/migration/20-21.md
Outdated
| --- | ||
| # Migrate from NET Core 2.0 to 2.1 | ||
|
|
||
| This article shows you how the basic steps for you to migrate your .NET Core 2.0 app to 2.1. If you're looking to migrate your ASP.NET Core application to 2.1, see [Migrate from ASP.NET Core 2.0 to 2.1](/aspnet/core/migration/20_21). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the first sentence: "how" doesn't fit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I went back and forth on this one.
docs/core/migration/20-21.md
Outdated
|
|
||
| For example, change `<TargetFramework>netcoreapp2.0</TargetFramework>` to `<TargetFramework>netcoreapp2.1</TargetFramework>`. | ||
|
|
||
| * Remove `<DotNetCliToolReference>` references for tools that are bundled in the .NET Core 2.1 SDK. These references include: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the minimum SDK version (2.1.300) be mentioned?
docs/core/migration/20-21.md
Outdated
| * [dotnet-watch](https://github.com/aspnet/DotNetTools/blob/dev/src/dotnet-watch/README.md) (Microsoft.DotNet.Watcher.Tools) | ||
| * [dotnet-user-secrets](https://github.com/aspnet/DotNetTools/blob/dev/src/dotnet-user-secrets/README.md) (Microsoft.Extensions.SecretManager.Tools) | ||
| * [dotnet-sql-cache](https://github.com/aspnet/DotNetTools/blob/dev/src/dotnet-sql-cache/README.md) (Microsoft.Extensions.Caching.SqlConfig.Tools) | ||
| * [dotnet-dev-certs](https://github.com/aspnet/DotNetTools/blob/dev/src/dotnet-dev-certs/README.md) (?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: there is a question mark at the end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, because I couldn't find how the reference to that was. 😄 I was hoping the reviewers would help me. @scottaddie do you know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mairaw What's the question?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to add the exact references that need to be removed for each tool but I don't the one used for dotnet-dev-certs. also, can you check that the others are correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe dotnet-dev-certs is something completely new that doesn't replace any references in the .csproj file.
@natemcmaster See Maira's question above. Can you please provide a list of .csproj references to be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, dotnet-dev-certs never shipped as a DotNetCliToolRef. Here is a list of .csproj references that can be removed: aspnet/Announcements#290
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @natemcmaster. The way it was written in the .NET Core 2.1 blog post announcement, made me think that it existed before:
The following existing DotNetCliReferenceTool tools have been converted to in-box tools.
dotnet watch
dotnet dev-certs
dotnet user-secrets
dotnet sql-cache
dotnet ef
Remove project references to these tools when you upgrade to .NET Core 2.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a number of mostly minor comments, @mairaw. I thought I'd approve this, though it still needs review by the PU.
docs/core/migration/20-21.md
Outdated
| --- | ||
| # Migrate from NET Core 2.0 to 2.1 | ||
|
|
||
| This article shows you how the basic steps for you to migrate your .NET Core 2.0 app to 2.1. If you're looking to migrate your ASP.NET Core application to 2.1, see [Migrate from ASP.NET Core 2.0 to 2.1](/aspnet/core/migration/20_21). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: for you to migrate --> for migrating
nit: use of "app" in the first sentence, but "application" in the second; they should be consistent
docs/core/migration/20-21.md
Outdated
|
|
||
| * Open the project file (the \*.csproj, \*.vbproj, or \*.fsproj file). | ||
|
|
||
| * Change the [target framework](../../standard/frameworks.md) value from `netcoreapp2.0` to `netcoreapp2.1`. The target framework is defined on the `<TargetFramework>` or `<TargetFrameworks>` element. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on --> by
docs/core/migration/20-21.md
Outdated
|
|
||
| For example, change `<TargetFramework>netcoreapp2.0</TargetFramework>` to `<TargetFramework>netcoreapp2.1</TargetFramework>`. | ||
|
|
||
| * Remove `<DotNetCliToolReference>` references for tools that are bundled in the .NET Core 2.1 SDK. These references include: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that it might be useful to explain why tools references can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks.
@leecow @richlander please let me know if this is what you had in mind for the migration topic.