Skip to content
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

[Xamarin.Android.Build.Tasks] Crash when using NetStandard and Xamarin.Forms #850

Merged
merged 1 commit into from
Sep 15, 2017

Conversation

dellis1972
Copy link
Contributor

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=57342

Commit 8f2ae24 attempted to fix this issue. However it made the
assumption that @(ReferenceCopyLocalPaths) contained the same
items as @(ReferencePath). However it did not. So we should use
a combination of the two to figure out what assmeblies are needed.
We need to disgard reference assemblies though, we do this by
checking for the appropriate attributes before we add the assembly
to the list of items we want to package.

@jonpryor
Copy link
Member

This should add a "test" to ensure that this fix works. See also:

Commit: 0809427
https://bugzilla.xamarin.com/show_bug.cgi?id=58679

Perhaps the test should simply be adding Mono.Android.Export to src/Mono.Android/Test (which would be a good idea anyway!).

@dellis1972
Copy link
Contributor Author

@jonpryor the src/Mono.Android/Test already have Mono.Android.Export [1]. PR #846 contains the unit tests for this.

[1] https://github.com/xamarin/xamarin-android/blob/master/src/Mono.Android/Test/Mono.Android-Tests.csproj#L52

@dellis1972
Copy link
Contributor Author

build

@dellis1972 dellis1972 mentioned this pull request Sep 14, 2017
@dellis1972
Copy link
Contributor Author

Tests are in #846

@dellis1972
Copy link
Contributor Author

build

@dellis1972
Copy link
Contributor Author

@jonpryor the APk Tests failing here seem to be SSL related and TimeZone related.. not sure they would be caused by this PR though. So I have no idea why they are happening..

@dellis1972
Copy link
Contributor Author

build

@dellis1972
Copy link
Contributor Author

Might be the Locale tests

…n.Forms

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=57342

Commit 8f2ae24 attempted to fix this issue. However it made the
assumption that `@(ReferenceCopyLocalPaths)` contained the same
items as `@(ReferencePath)`. However it did not. So we should use
a combination of the two to figure out what assmeblies are needed.
We need to disgard reference assemblies though, we do this by
checking for the appropriate attributes before we add the assembly
to the list of items we want to package.
@dellis1972
Copy link
Contributor Author

@jonpryor fixed :)

@jonpryor jonpryor merged commit 46d85a6 into dotnet:master Sep 15, 2017
dellis1972 added a commit that referenced this pull request Oct 6, 2017
…n.Forms (#850)

Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=57342

Commit 8f2ae24 attempted to fix this issue. However it made the
assumption that `@(ReferenceCopyLocalPaths)` contained the same
items as `@(ReferencePath)`. However it did not. So we should use
a combination of the two to figure out what assmeblies are needed.
We need to disgard reference assemblies though, we do this by
checking for the appropriate attributes before we add the assembly
to the list of items we want to package.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants