Could not load file or assembly 'VulcanRTFuncs, Version=3.0.301.0
Posted: Wed Oct 11, 2017 10:46 am
This is the situation. I picked up the solution my new employee is working on. The solution contains 2 X# libraries and 1 C# library. On debugging he found that setting a breakpoint in C# code within the same solution, the debugger does not stop at the C# code, only at breakpoints within the X# code.
I added a new WPF application to the solution with a button on a screen from where I start testing the X# method calling the C# method to see how debugging works. Or doesn't work.
First the compiler complains about incorrect versions of the Vulcan library. I decide to remove all references to the Vulcan DLL's and reapply them, browsing to C:Program Files (x86)Vulcan.NET 3.0RedistAssembliesv4.0. Compiler seems happy but when I start my test program:
local oObj as XSharpNameSpace.XSharpClass
oObj:= XSharpNameSpace.XSharpClass{}
oobj:MyMethodToTest("test") // Method found in XSharpNameSpace, XSharpClass
I get a runtime error, showing app:Run() from the app.g.prg, something mysterious VS seems to use or need:
Could not load file or assembly 'VulcanRTFuncs, Version=3.0.301.0, Culture=neutral, PublicKeyToken=0e73a8bf006af00c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
What do I do wrong?
Dick
I added a new WPF application to the solution with a button on a screen from where I start testing the X# method calling the C# method to see how debugging works. Or doesn't work.
First the compiler complains about incorrect versions of the Vulcan library. I decide to remove all references to the Vulcan DLL's and reapply them, browsing to C:Program Files (x86)Vulcan.NET 3.0RedistAssembliesv4.0. Compiler seems happy but when I start my test program:
local oObj as XSharpNameSpace.XSharpClass
oObj:= XSharpNameSpace.XSharpClass{}
oobj:MyMethodToTest("test") // Method found in XSharpNameSpace, XSharpClass
I get a runtime error, showing app:Run() from the app.g.prg, something mysterious VS seems to use or need:
Could not load file or assembly 'VulcanRTFuncs, Version=3.0.301.0, Culture=neutral, PublicKeyToken=0e73a8bf006af00c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
What do I do wrong?
Dick