Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for new slnx solution format #14034

Closed
HakamFostok opened this issue Jan 10, 2025 · 2 comments · Fixed by NuGet/NuGet.Client#6219
Closed

Support for new slnx solution format #14034

HakamFostok opened this issue Jan 10, 2025 · 2 comments · Fixed by NuGet/NuGet.Client#6219
Labels
Community PRs (and linked Issues) created by someone not in the NuGet team Priority:2 Issues for the current backlog. Product:dotnet.exe Type:Feature

Comments

@HakamFostok
Copy link

HakamFostok commented Jan 10, 2025

NuGet Product(s) Involved

NuGet.exe

The Elevator Pitch

Intorduction

"Solution File Persistence Model" is a new feature and still a Preview Feature in Visual Studio.
It enables a new format for the solution file based on XML format.
Here is more information
https://www.youtube.com/watch?v=wzMMclD8QsI
https://www.youtube.com/watch?v=D0MxmDWk4t0

image


I enabled this preview feature and it is working well.
I tried the following statement from the command line

dotnet list MySolution.slnx package --vulnerable --include-transitive

and I get the following error

error: Parameter "xml" cannot be null.

here is a screenshot
image

I understand that this is still a preview feature, but I would like to see NuGet support it (not in near future, but hopefully sometime)

Thank you all for the great efforts

@nkolev92
Copy link
Member

nkolev92 commented Jan 10, 2025

@baronfel
Copy link

The tracking issue in vs-solutionpersistence for slnf support is microsoft/vs-solutionpersistence#85.

@nkolev92 nkolev92 added Priority:2 Issues for the current backlog. Community PRs (and linked Issues) created by someone not in the NuGet team labels Jan 23, 2025
BrycensRanch added a commit to BrycensRanch/SnapX that referenced this issue Feb 13, 2025
Still the same thing from Microsoft and supported by all Microsoft tooling and our build pipelines. It's simply better.

All thanks to dotnet/msbuild#10266

For editor support, recent versions of Rider already have it. For VSCode it is a work in progress.

dotnet/vscode-csharp#7048

For Nuget, it seems it's on its way with support. NuGet/Home#14034

I feel comfortable enough to change it regardless.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Community PRs (and linked Issues) created by someone not in the NuGet team Priority:2 Issues for the current backlog. Product:dotnet.exe Type:Feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants