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

Android samples not working #16

Open
discosultan opened this issue Jan 11, 2018 · 2 comments
Open

Android samples not working #16

discosultan opened this issue Jan 11, 2018 · 2 comments

Comments

@discosultan
Copy link
Owner

As was raised by @AdvKern in #5, none of the Android samples currently work. I've found two issues using the latest stable Visual Studio 2017 and Xamarin.Android tooling:

  1. NuGet packages which are targeted using the new .csproj PackageReference format will not get deployed to the device. A solution would be to revert back to using packages.config.

  2. Invoking unmanaged code raises InvalidProgramException with message "Invalid IL code". This seems to be appeared after Xamarin Mono 5.0 update which introduced Roslyn compiler. Reason unknown. Going to test latest preview tooling to see if it makes any difference.

@WardBenjamin
Copy link
Contributor

Is this still true as of now?

@discosultan
Copy link
Owner Author

I think so. I never got to fix the issues. It's probably a good idea to test with latest Xamarin and update project files to follow same properties / package reference style as most recent Xamarin Android project template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants