You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=57849
We are sometimes getting duplicate assembly references in the `@(ReferencePath)`
ItemGroup. This is comming from the DesignTime Facade assembly detection.
Looking at the msbuild targets [1], they do duplicate detection by checking the
`%(Filename)` does not exist in the assembly list already. So we should
do the same in our Xamarin.Android.PCLSupport.targets. We use the `CreateItem`
Task rather than `ItemGroup`. This is because it seems xbuild does
NOT like it when you use `%(ItemGroup.MetaData)` when defining additonal
metadata using the `ItemGroup` syntax.. It things its an assembly it
needs to load... weird.
[1] https://github.com/mono/msbuild/blob/xplat-master/src/Tasks/Microsoft.NETFramework.CurrentVersion.targets#L103
0 commit comments