Retiring dotnet migrate in .NET Core SDK 2.0
See original GitHub issueIn .NET Core SDK 1.0, we introduced a dotnet migrate
command that migrates a project.json-based Preview 2 .NET Core project to a .csproj-based .NET Core SDK 1.0 project. This command was always intended to be only needed in the 1.0 timeframe, to help our early adopters move to the new project system.
In .NET Core SDK 2.0, we are retiring the dotnet migrate
command. Developers who still need to migrate Preview 2 projects after the SDK 2.0 has shipped should first install the 1.0 SDK, migrate their projects, and then install the 2.0 SDK.
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
Migrate from ASP.NET Core 1.x to 2.0
This article outlines the prerequisites and most common steps for migrating an ASP.NET Core 1.x project to ASP.NET Core 2.0.
Read more >dotnet migrate command - .NET CLI
The dotnet migrate command migrates a project and all of its dependencies.
Read more >Azure Cosmos DB: SQL .NET Core API, SDK & resources
Learn all about the SQL .NET Core API and SDK including release dates, retirement dates, and changes made between each version of the...
Read more >Migrate from ASP.NET Core 2.0 to 2.1
This article covers the basics of migrating an ASP.NET Core 2.0 app to 2.1.
Read more >Microsoft .NET and .NET Core - Microsoft Lifecycle
Version Start Date End Date
.NET 7 Nov 8, 2022
.NET 6.0 (LTS) Nov 9, 2021 Nov 12, 2024
.NET 5.0 Nov 10, 2020 May 10,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is currently adding complexity to our build script because migration works for the 1.0 runtime, and on 2.0 CLI, we will carry only 2.0 shared runtime. Because of migration, we are keeping a 1.0 version of the shared framework that we want to remove.
Also, because of migration, we download a project.json capable CLI just so we can build the project.json projects and compare with the output of the migrated projects.
Another reason is that right now, migration tests account for half of our test time.
So, migration is adding build complexity to our repo, forcing us to depend on things that we don’t need/want anymore and costing half of our build time in doing so.
As always, it would be really nice to get just a tiny hint on why this is being done. Is it harming anyone? Blocking other features? Just too much code to maintain?