Skip to content
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

Document dotnet sln migrate #44879

Open
tdykstra opened this issue Feb 12, 2025 · 1 comment
Open

Document dotnet sln migrate #44879

tdykstra opened this issue Feb 12, 2025 · 1 comment
Assignees
Labels
dotnet-fundamentals/svc okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. 📌 seQUESTered Identifies that an issue has been imported into Quest.

Comments

@tdykstra
Copy link
Contributor

tdykstra commented Feb 12, 2025

Description

Document CLI command dotnet sln migrate.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-sln.md

Document Version Independent Id

60d50636-8086-8d92-9ccc-60b7cecd714a

Article author

@tdykstra

Metadata

  • ID: b5b0701a-2043-4ac8-567a-03c1e35161b2
  • PlatformId: 6b2a77a5-71c8-eacc-f857-b8530675b01f
  • Service: dotnet-fundamentals

Related Issues


Associated WorkItem - 372806

@tdykstra tdykstra added 🗺️ reQUEST Triggers an issue to be imported into Quest. okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. labels Feb 12, 2025
@tdykstra tdykstra self-assigned this Feb 12, 2025
@dotnet-policy-service dotnet-policy-service bot added the ⌚ Not Triaged Not triaged label Feb 12, 2025
@dotnetrepoman dotnetrepoman bot added the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Feb 12, 2025
@dotnet-policy-service dotnet-policy-service bot removed the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Feb 12, 2025
@tdykstra tdykstra removed the ⌚ Not Triaged Not triaged label Feb 12, 2025
@tdykstra tdykstra changed the title Document dotnet sln migrate Document dotnet sln migrate Feb 12, 2025
@baronfel
Copy link
Member

Here's some data for the migrate command:

>dotnet sln migrate --help
Description:
  Generate a .slnx file from a .sln file.

Usage:
  dotnet solution [<SLN_FILE>] migrate

Arguments:
  <SLN_FILE>  The solution file to operate on. If not specified, the command will search the current directory for one. [default: E:\Code\Scratch\foobar\]

Options:
  -?, -h, --help  Show command line help.

When the migration happens, the current directory will be searched for a *.sln file and convert it to a *.slnx file. If a matching slnx exists you'll get an error. If you pass in a slnx file directly, that will also give an error.

After the migration, you can build/etc the newly-created slnx file and can delete the older sln file at will.

Note that today, you can't double-click an slnx and open it in VS.

@sequestor sequestor bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-fundamentals/svc okr-quality Content-quality KR: Concerns article defects (bugs), freshness, or build warnings. 📌 seQUESTered Identifies that an issue has been imported into Quest.
Projects
Development

No branches or pull requests

2 participants