wants to use older version of ByteCodeHelper.DynamicCast?
Brought to you by:
jfrijters
I'm converting a .jar to .dll with command ikvmc -target:library C:\Data\myLib.jar end I get the myLib.dll as expected.
When I then use the constructor of a certain class I get this error:
"Method not found: 'System.Object IKVM.Runtime.ByteCodeHelper.DynamicCast(System.Object, System.RuntimeTypeHandle, System.String)'."
I can see in the Assembly Explorer: System.Object IKVM.Runtime.ByteCodeHelper.DynamicCast(System.Object, Class)
I searched the internet and saw that DynamicCast with 3 parameters is an older version.
What could that be?
I'm using:
Windows 7
ikvmc.exe 7.2.4630.5
nuget IKVM 8.1.5717
You need to use the ikvmc version that matches with the nuget version. It is available here: http://weblog.ikvm.net/2015/08/26/IKVMNET81ReleaseCandidate0.aspx