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

dotnet restore on a solution file only restores one project #13931

Open
Pollyfun opened this issue Nov 15, 2024 · 0 comments
Open

dotnet restore on a solution file only restores one project #13931

Pollyfun opened this issue Nov 15, 2024 · 0 comments

Comments

@Pollyfun
Copy link

NuGet Product Used

dotnet.exe

Product Version

dotnet

Worked before?

No response

Impact

It's more difficult to complete my work

Repro Steps & Context

This command fails to restore all the nugets to C:\Users.nuget\packages.

dotnet restore MySolution.sln

Using NET 8.0.400.

This behaviour doesn't occur in all situations, so I've added a solution where it's easily reproducable.

Restoring nugets for the solution (in Visual Studio, or on the command line with dotnet restore) will seemingly randomly restore the nugets from one of the projects, but not for the other. Illustration added.

Packages.zip

image

Verbose Logs

No response

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

No branches or pull requests

1 participant