Skip to content

Conversation

meaghanlewis
Copy link
Contributor

@meaghanlewis meaghanlewis commented Sep 29, 2025

…new redirection for porting documentation

Summary

This pull request removes documentation for the deprecated dotnet migrate command and updates related references throughout the .NET docs to reflect its removal and redirect users to the appropriate porting guidance. The changes help clarify that dotnet migrate is no longer available and guide users toward current migration practices.

Documentation cleanup and reference updates:

  • Removed the docs/core/tools/dotnet-migrate.md article, eliminating outdated documentation for the deprecated command.
  • Deleted references to dotnet migrate from command listings in docs/core/tools/index.md, docs/core/tools/dotnet.md, and the navigation TOC in docs/navigate/tools-diagnostics/toc.yml. [1] [2] [3]

Redirects and migration guidance:

  • Added a redirect in .openpublishing.redirection.core.json from the removed dotnet-migrate.md to the updated porting guidance at /dotnet/core/porting.
  • Updated migration instructions in docs/core/compatibility/sdk/10.0/dotnet-restore-project-json-unsupported.md to remove links to the deleted article and clarify usage of older SDKs for migration.

Fixes #48686


Internal previews

📄 File 🔗 Preview link
docs/core/compatibility/sdk/10.0/dotnet-restore-project-json-unsupported.md project.json no longer supported in dotnet restore
docs/core/tools/dotnet.md dotnet command
docs/core/tools/index.md .NET CLI overview
docs/navigate/tools-diagnostics/toc.yml docs/navigate/tools-diagnostics/toc

@dotnetrepoman dotnetrepoman bot added this to the September 2025 milestone Sep 29, 2025
@meaghanlewis meaghanlewis marked this pull request as ready for review September 30, 2025 19:03
@meaghanlewis meaghanlewis requested review from adegeo, a team and gewarren as code owners September 30, 2025 19:03
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of deleting, can we archive this article? That way I can still point to it from the "Recommended action" section of the project.json breaking change. Using dotnet migrate was one of the recommended actions from the dev who logged the breaking change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gewarren! thanks for your feedback! I debated archiving instead of removing after seeing this command recommended in that breaking change. Let me look into a good location where I can archive this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add missing dotnetcommands and options
2 participants