Uh oh!
There was an error while loading. Please reload this page.
Conversation
141bc5f to
3b46a41CompareThis has now produced a (mostly, aside from known issues) green build in XA - dotnet/android#4347, and is ready for further cleanup/review. I'm a touch worried about extending our usage of |
Uh oh!
There was an error while loading. Please reload this page.
jpobst
commented
Mar 3, 2020
Nice! |
pjcollins
commented
Mar 9, 2020
There's still some work needed on the xamarin-android side before we can land this (specifically with respect to handling the addition of a target framework on certain output paths), but I'd love some more eyes on this since the diff is so large. |
jpobst
commented
Mar 9, 2020
It feels like we are removing a lot of I think we're better off using |
pjcollins
commented
Mar 9, 2020
It is more of a theoretical concern, though we did see issues related to this on the xamarin-android side with LibZipSharp. One example of similar potential concern here is with Additionally, once this "modernization" pr lands, we'll be looking at updating some of these tools to be .NET Core apps, and I think the |
jpobst
commented
Mar 9, 2020
We could use something like this to ensure we choose the I can see leaving the TF for .exe files, since presumably we'll soon be building them with |
pjcollins
commented
Mar 9, 2020
I'm not sure if that explicit hint path approach would solve the problem entirely, and it doesn't handle the "which one do we use at runtime and redistribute" question. I can partially revert the |
jpobst
commented
Mar 9, 2020
With the HintPath, only the one mentioned would end up in the OutputPath, so it will ensure we only use/ship the one we want. |
Ok cool, that approach does appear to be working in a small test case as long as It also has the added benefit of copying supplemental (.pdb/.xml) files automatically, without needing to set |
jonathanpeppers
left a comment
There was a problem hiding this comment.
Does this need a draft PR on the xamarin-android side to make sure it won't break the build?
pjcollins
commented
Mar 10, 2020
Yeah I've been testing with XA along the way in dotnet/android#4347. The latest changes are incompatible, but I will be pushing something here shortly that reworks things based on yesterdays discussion. |
…ignore it if it doesn't exist yet.
pjcollins
commented
Mar 13, 2020
I think this is ready to go again after backing out the AppendTF removals. There's two failures in the latest XA build but they don't seem related - https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=3546904&view=ms.vss-test-web.build-test-results-tab&runId=11800708&resultId=100261&paneView=attachments |
dellis1972
commented
Mar 13, 2020
@pjcollins I think I agree the actual error was which is really weird. |
jpobst
commented
Mar 13, 2020
Nice work! ❤️ I approve, but since I'm technically the PR owner I can't add an approval. |
Bulk translate various `.csproj` files to [Short-Form Projects][0]: * Remove `packages.config`, replace with `@(PackageReference)`. * Set `$(AppendTargetFrameworkToOutputPath)`=False so that we preserve the existing directory structure. * Remove `Mono.Options-PCL.cs`, replaced by `Mono.Options` NuGet. * `JdkInfo.props` doesn't exist when doing preparation via the xamarin-android repo, so ignore it if it doesn't exist yet. [0]: https://docs.microsoft.com/en-us/dotnet/core/tools/csproj#additions Co-authored-by: Peter Collins <pecolli@microsoft.com>
Convert these projects to SDK style
.csprojfiles: