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
{{ message }}
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
I've just published a new version of my Xamarin.Android plugin and users get an error when trying to use it:
CSC : error CS1705: Assembly 'GeniusScanSDK.ScanFlow.Android' with identity 'GeniusScanSDK.ScanFlow.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'Java.Interop, Version=0.2.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' which has a higher version than referenced assembly 'Java.Interop' with identity 'Java.Interop, Version=0.1.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
Any idea what's wrong?
Since the previous version, I updated the TargetFrameworkVersion from v11.0 to v12.0, could that be the problem?
There was a lot of back and forth on this, where we changed the Java.Interop.dll version, but then there were problems and we had to revert it: #952.
I do not think it ever shipped in a stable version of Xamarin.Android, but it did ship in a few previews. I would check what version of Xamarin.Android you have installed on the machine that is building the GeniusScanSDK.ScanFlow.Android.dll assembly. It may need to be updated to a more recent version.
Activity
jpobst commentedon Nov 7, 2022
There was a lot of back and forth on this, where we changed the
Java.Interop.dllversion, but then there were problems and we had to revert it: #952.I do not think it ever shipped in a stable version of Xamarin.Android, but it did ship in a few previews. I would check what version of Xamarin.Android you have installed on the machine that is building the
GeniusScanSDK.ScanFlow.Android.dllassembly. It may need to be updated to a more recent version.guillaume-tgl commentedon Nov 7, 2022
I use this Docker image: https://github.com/tafilz/xamarin-android
I see they made some changes 20 days ago but it seems like they use the latest build from https://dev.azure.com/xamarin/public/_build?definitionId=48&_a=summary&view=runs&branchFilter=5767%2C5767%2C5767
Could this be a problem?
jpobst commentedon Nov 7, 2022
Potentially, that pipeline doesn't seem to be running and the builds are from
mainin Feb 2022.I would highly suggest finding a way to use official supported builds for Windows or Mac.
guillaume-tgl commentedon Nov 15, 2022
Thanks, I've switched my CI machine to a Mac and the issue went away.