-
Notifications
You must be signed in to change notification settings - Fork 255
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
Command line restore skips some projects in sln #5214
Comments
@AArnott are you using project build ordering in this solution? Is there anything unique about how these projects are referenced? |
Great question. Yes, in fact the same two projects that are skipped in package restore are the two that have sln-expressed project dependencies on other projects. |
In that case this might be caused by #4578 |
I agree. But that issue seems to be closed. Does that mean it wasn't fixed, or simply that 15.3 Preview 1 doesn't include the fix? |
Looks like the fix would be in Preview 2. 15.3 Preview 1 has NuGet 4.3.0.2418 which was right before the fix went in. |
I'm going to close this as a dupe of the original issue. Let me know if you see any problems with this in Preview 2. |
@emgarten, sorry this may be me being dense, but with so many versions to keep up with, do you mean dotnet core 2 preview 2? |
@forrestab yes, dotnet CLI 2.0.0-preview2 |
Details about Problem
NuGet product used (NuGet.exe | VS UI | Package Manager Console | dotnet.exe):
Failure is observed with
msbuild /t:restore
anddotnet restore
dotnet.exe --version (if appropriate): 2.0.0-preview1-005842
VS version (if appropriate): 15.2.0 and 15.3 (26507.0 d15rel)
OS version (i.e. win10 v1607 (14393.321)): win10 14393.rs1_release_sec.170327-1835
Worked before? If so, with which NuGet version: Unknown.
Detailed repro steps so we can see the same problem
Observe how the build output omits mention of TestClient and UnitTests projects. These restore perfectly if I restore them directly. But the solution build fails after restoring packages for the solution unless I do them manually. The projects are in the solution, so I fully expect package restore at the solution level to apply to them as well.
Other suggested things
Verbose Logs
The text was updated successfully, but these errors were encountered: