-
Notifications
You must be signed in to change notification settings - Fork 136
aspnetcore GenerateFiles.csproj uses global package dir #4444
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
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
[Triage] @corngood - can you help us understand what the impact of this is? |
In nixpkgs we use the per-repo package cache dirs to enumerate dependencies. We could also look at the default package dir in $HOME, but this just seemed like an oversight, because everything else seems to use Here's an example of a similar issue: #4293 In that case it was using |
@wtgodbe - Is this something you can take a look at? |
Sure, is the ask to just set the package cache correctly when in source build? I don't fully understand why this restore operation is "special", how do repos normally set the packages root in the source build context? |
In 9.0.0-preview.4, I noticed that this explicit restore operation:
https://github.com/dotnet/dotnet/blob/7b92d4092abc8b04f79a9412a712257966724494/src/aspnetcore/eng/Tools.props#L7
uses $HOME/.packages. This seems like it's probably unintentional. Adding the following causes it to use the inner source build package cache, which is what I would expect it to do:
The text was updated successfully, but these errors were encountered: