EMDK 3 with VS2019

M Mattia Durli 3 years ago
3 1 0

Hello,

I tried to compile my Xamarin EMDK3 based app (developed on VS2017) running on a TC20 with Visual Studio 2019 RC and it compiles and deploys but on the device it crashes at startup of the debug.
If I run the same installed up on the device, it appears to be working fine: it crashes only when I try to start and debug the app with VS2019.
If I remove any reference to EMDK in the OnCreate, on debug works.

I then tried to compile and run the standard BarcodeSample1 and it breaks at startup too, with debug.
Then BarcodeSample1 launched straight from device, works.

Only difference I see in the APK is lib\armeabi-v7a\libmonodroid.so 124740Kb when compiled with VS2017 and 942796 with VS2019

Any suggestion?

Thanks,
Mattia

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

Hi Mattia,

That is strange, I swear I tried this on an earlier version of VS 2019 but I agree, with the latest update there is some problem launching an app that uses EMDK.

Unfortunately this would need somebody from the engineering team to fix it which will happen when VS 2019 becomes fully supported, though that will not happen until VS2019 comes out of beta.

Until then, the only supported approach will be to continue using VS2017 I'm afraid.

Thanks,
Darryn.

CONTACT
Can’t find what you’re looking for?