Skip to content

slnx support for nuget.exe #14113

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

Closed
zitzlthotietoevry opened this issue Feb 19, 2025 · 4 comments · Fixed by NuGet/NuGet.Client#6321
Closed

slnx support for nuget.exe #14113

zitzlthotietoevry opened this issue Feb 19, 2025 · 4 comments · Fixed by NuGet/NuGet.Client#6321
Labels
Category:Quality Week Issues that should be considered for quality week Priority:2 Issues for the current backlog. Product:NuGet.exe NuGet.exe Type:Feature

Comments

@zitzlthotietoevry
Copy link

NuGet Product(s) Involved

NuGet.exe

The Elevator Pitch

Running nuget.exe restore mysolution.slnx just shows an error message:
Invalid input 'mysolution.slnx'. The file type was not recognized.

Would be good if it would properly restore

Additional Context and Details

No response

@nkolev92 nkolev92 changed the title slxn support for nuget.exe slnx support for nuget.exe Feb 19, 2025
@jeffkl jeffkl added Priority:2 Issues for the current backlog. Category:Quality Week Issues that should be considered for quality week labels Feb 20, 2025
@nkolev92
Copy link
Member

Please consider using dotnet.exe and msbuild.exe restore, they both already support slnx

@FXZFun
Copy link

FXZFun commented Mar 12, 2025

I'm using a custom tool for updating packages that depends on the nuget CLI as well, this is blocking us from using the new .slnx solution format. The tool requires the use of nuget update for legacy projects that dotnet.exe doesn't support.
Since nuget.exe is already using the new solution file parser, it looks like all that would be needed to support this is to enhance the filtering logic to allow .slnx extensions in addition to the .sln extensions for the solution files. I would be happy to provide a PR for this feature if that is welcomed.

@nkolev92
Copy link
Member

We'd be happy to take a PR @FXZFun!

@rizi
Copy link

rizi commented Mar 14, 2025

@FXZFun will you create a PR, I could also try it, but it's not so easy, there are a lot of places where things must be extended/adapted.

Br

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Quality Week Issues that should be considered for quality week Priority:2 Issues for the current backlog. Product:NuGet.exe NuGet.exe Type:Feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants