Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"redirections": [
{
"source_path": "docs/core/tools/dotnet-migrate.md",
"redirect_url": "/previous-versions/dotnet/core/tools/dotnet-migrate",
"redirect_document_id": false
},
{
"source_path": "docs/core/install/localized-intellisense.md",
"redirect_url": "/previous-versions/dotnet/core/install/localized-intellisense",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ This change can affect [source compatibility](../../categories.md#source-compati

The `project.json` format was originally available only in .NET Core previews (through Preview 2 of .NET Core 1.0) and was completely replaced by PackageReference in 2017. The format has been marked as deprecated since 2017.

When the `project.json` format was replaced, users migrated these projects using the [`dotnet migrate`](../../../tools/dotnet-migrate.md) command, but that command was removed from the CLI in the .NET Core 3.0 SDK.
When the `project.json` format was replaced, users migrated these projects using the [`dotnet migrate`](/dotnet/core/tools/dotnet-migrate) command, but that command was removed from the CLI in the .NET Core 3.0 SDK.

The removal of `project.json` support completes this transition and allows the .NET team to focus on delivering a better experience for PackageReference-based projects.

## Recommended action

Migrate your `project.json` projects to use PackageReference format instead.

If you have .NET Core based `project.json` projects, you can use older versions of the .NET SDK that still include the [`dotnet migrate` command](../../../tools/dotnet-migrate.md) to convert them to the modern project format.
If you have .NET Core based `project.json` projects, you can use older versions of the .NET SDK that still include the [`dotnet migrate` command](/dotnet/core/tools/dotnet-migrate) to convert them to the modern project format.

For more information about migrating from `project.json`, see [Migrating from project.json to .csproj](/nuget/archive/project-json#migrate-projectjson-to-packagereference).

Expand Down
103 changes: 0 additions & 103 deletions docs/core/tools/dotnet-migrate.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/core/tools/dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ The following options are available only when `dotnet` runs an application by us
| [dotnet clean](dotnet-clean.md) | Clean build outputs. |
| [dotnet exec](#options-for-running-an-application) | Runs a .NET application. |
| [dotnet help](dotnet-help.md) | Shows more detailed documentation online for the command. |
| [dotnet migrate](dotnet-migrate.md) | Migrates a valid Preview 2 project to a .NET Core SDK 1.0 project. |
| [dotnet msbuild](dotnet-msbuild.md) | Provides access to the MSBuild command line. |
| [dotnet new](dotnet-new.md) | Initializes a C# or F# project for a given template. |
| [dotnet pack](dotnet-pack.md) | Creates a NuGet package of your code. |
Expand Down
1 change: 0 additions & 1 deletion docs/core/tools/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ The following commands are installed by default:
- [`test`](dotnet-test.md)
- [`vstest`](dotnet-vstest.md)
- [`pack`](dotnet-pack.md)
- [`migrate`](dotnet-migrate.md)
- [`clean`](dotnet-clean.md)
- [`sln`](dotnet-sln.md)
- [`help`](dotnet-help.md)
Expand Down
2 changes: 0 additions & 2 deletions docs/navigate/tools-diagnostics/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ items:
href: ../../core/tools/dotnet-format.md
- name: dotnet help
href: ../../core/tools/dotnet-help.md
- name: dotnet migrate
href: ../../core/tools/dotnet-migrate.md
- name: dotnet msbuild
href: ../../core/tools/dotnet-msbuild.md
- name: dotnet new
Expand Down