-
Notifications
You must be signed in to change notification settings - Fork 694
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
Fix issue with solution filters not restoring when in different folder than referenced solution #5197
Conversation
@dotnet-policy-service agree company="NAU Country Insurance" |
This PR has been automatically marked as stale because it has no activity for 7 days. It will be closed if no further activity occurs within another 90 days of this comment. If it is closed, you may reopen it anytime when you're ready again, as long as you don't delete the branch. |
Anything else I need to do to move forward on this fix? I see some unit tests failed, anything I can do about those? The links to the failures take me to a private Azure DevOps instance. |
@jerhon I'll help take a look at the failing tests, but first could you rebase your branch? It may be due to some CI issue we fixed since your last rebase. Thanks! |
…ed by msbuild rather than path math based on the solution file directory.
…t both packages to be available.
@donnie-msft Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! 🚀
Bug
Fixes: NuGet/Home#12562
Regression? Last working version: n/a
Description
This is a bug fix that allows restoration of nuget packages for solution filters in directories other than the referenced solution file. A repo of the issue can be found in this Git repository: https://github.com/jerhon/nuget-slnf-bug
This changes the paths used to restore projects to be determined by the AbsolutePath reported by the MSBuild SDK on the ProjectFile rather than doing path math on the directory of the passed in file and the relative path reported by MSBuild.
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation