VB Error

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
RaulVB
Posts: 5
Joined: Mon Aug 28, 2006 10:52 am

VB Error

Post by RaulVB »

First of all hello to everybody... new in IrrLicht Engine

Now: After I run my application (not the exe) when it close, gives me the error:

"An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.

Additional information: File or assembly name System, or one of its dependencies, was not found.
"

I have all the dlls in tha app dir, in system32 dir, in bin dir...etc
and btw I am new in VB.NET but I worked in VB6 4 years :D
shurijo
Posts: 148
Joined: Sat Feb 21, 2004 3:04 am

Post by shurijo »

You need to copy the Irrlicht.dll and Irrlicht.NET.dll to your bin/debug and bin/release directories.

You don't need to put them in the system32 dir.

You just need Irrlicht.NET.dll referenced through your project references and it will automatically copy to your output dirs. The Irrlicht.dll won't automatically copy to your bin\dirs so iits probably the one you need to make sure is there.
Terrachild
Posts: 21
Joined: Sun Sep 03, 2006 5:58 am

error on exit

Post by Terrachild »

I 'm having the same problem, I have now coppied the DLL's in to every folder in my project path. I still have the problem. It doesn't happen when I exit out of the.EXE, but it does when I start it in in Visual Studio.NET (visual basic flavor) and exit from there.

This might be a clue. If I hit Stop in Visual Studio it doesn't happen, but when I exit the Irrlich window via ALT-F4 it does.

More info, if I start the program from the DEBUG menu with START, and exit with ALT-F4, it happens;

But if I start the program from the DEBUG menu with START WITHOUT DEBUGGING, and exit with ALT-F4, it does not happen.
Terrachild
Posts: 21
Joined: Sun Sep 03, 2006 5:58 am

Problem went away.

Post by Terrachild »

I upgraded to C++ and VB 2005 Express. The problem is gone. I guess it is important to use the latest tools.
Locked