-
Notifications
You must be signed in to change notification settings - Fork 515
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 relative path for .dlls in publish directory #12434
Conversation
Fixes xamarin#12386 (and likely xamarin#12418)
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
✅ [PR Build] Tests passed on Build. ✅Tests passed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diff✅ API Diff (from PR only) (no change) GitHub pagesResults can be found in the following github pages (it might take some time to publish): 🎉 All 129 tests passed 🎉Pipeline on Agent XAMBOT-1104.BigSur' |
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.
seems incomplete
and we'll need some tests
@@ -973,7 +973,7 @@ | |||
<!-- include .dll, .exe and, for debugging only, .pdb files inside the .app --> | |||
<ResolvedFileToPublish | |||
Update="@(ResolvedFileToPublish)" | |||
RelativePath="$(_AssemblyPublishDir)\%(ResolvedFileToPublish.DestinationSubDirectory)\%(Filename)%(Extension)" | |||
RelativePath="$(_AssemblyPublishDir)\%(ResolvedFileToPublish.RelativePath)" |
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.
c.c. @rolfbjarne
I'm surprised this did not trigger any of our existing tests.
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.
Yes, this has been discussed a bit here: #12386 (comment)
For normal project references our logic works just fine, but the test case is setting CopyToOutputDirectory=PreserveNewest
on None
items, which is something we don't have tests for.
Adding the |
Fixes #12386 (and likely #12418)