VulkanCore icon indicating copy to clipboard operation
VulkanCore copied to clipboard

Android samples not working

Open discosultan opened this issue 8 years ago • 2 comments

As was raised by @AdvKern in https://github.com/discosultan/VulkanCore/issues/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.

discosultan avatar Jan 11 '18 19:01 discosultan

Is this still true as of now?

WardBenjamin avatar Jun 17 '18 19:06 WardBenjamin

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.

discosultan avatar Jun 17 '18 19:06 discosultan