question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Retiring dotnet migrate in .NET Core SDK 2.0

See original GitHub issue

In .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:closed
  • Created 6 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

9reactions
livarcocccommented, Mar 29, 2017

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.

1reaction
khellangcommented, Mar 29, 2017

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found