qlua / luainterface

Automatically exported from code.google.com/p/luainterface
0 stars 0 forks source link

.net 4.0 #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Visual Studio 2010
2. Add the LuaInterface Ref
3. Compile

What is the expected output? What do you see instead?
The expected output is just the execution of the software.
System.BadImageFormatException was unhandled
  Message=Could not load file or assembly 'LuaInterface, Version=2.0.0.19270, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
  Source=****
  FileName=LuaInterface, Version=2.0.0.19270, Culture=neutral, PublicKeyToken=null
  FusionLog==== Pre-bind state information ===
LOG: User = PEC\Administrator
LOG: DisplayName = LuaInterface, Version=2.0.0.19270, Culture=neutral, 
PublicKeyToken=null
 (Fully-specified)

LOG: Initial PrivatePath = NULL
CPublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using host configuration file: 
LOG: Using machine configuration file from 
C:\WINDOWS.0\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, 
partial, or location-based assembly bind).
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.

What version of the product are you using? On what operating system?
I'm using LuaInterface 2.0.3 on Windows XP 64

Please provide any additional information below.
It is working fine with .net 3.5. But it seems that .net 4.0 do not accept this 
version of .dll. I assume that just a re-compilation under .net 4.0 would be 
enough. Could i have the source code to do this or have you got a .dll already 
re-compiled to do that ?

Thanks a lot

Original issue reported on code.google.com by poireau2...@hotmail.com on 29 Jan 2011 at 10:12

GoogleCodeExporter commented 9 years ago
u can check out the source and re-compile it under .net4.0

Original comment by isSin...@gmail.com on 23 Mar 2011 at 3:22

GoogleCodeExporter commented 9 years ago
Hi,
I indeed did it it works fine. Sorry about this post.
Cheers !!

Original comment by poireau2...@hotmail.com on 24 Mar 2011 at 8:08

GoogleCodeExporter commented 9 years ago
Could you provide the compiled lua.dll? With my own DLL I could not pass all 
the tests...
LuaInterface istself works fine, but lua not...

Original comment by i...@niklas-rother.de on 5 Jul 2011 at 6:22

GoogleCodeExporter commented 9 years ago

Original comment by capre...@gmail.com on 8 Aug 2011 at 8:22