Page 1 of 1

C# HelloWorld example compiles; but runtime error :(

Posted: Sat Apr 14, 2007 5:46 pm
by acidburnz
I have the microsoft sdk and visual c# 2005 express installed. I'm getting the runtime error as mentioned in the commenting of the program itself:

Code: Select all

// - It compiles, but your program throws an exception like this:
//  "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
//  Additional information: File or assembly name Irrlicht.NET, or one of its dependencies,
//  was not found."
//  Solution: You are missing the file Irrlicht.DLL. Copy it where Visual studio can find it.
//  For example where this program is.
I've done the fix they've suggested (putting the Irrlicht.DLL file in the bin\debug (alongside Irrlicht.NET.DLL) and the runtime error still occurs. I tried running the exe manually (not from the ide) and it still errors out.

I know this is a known problem, anyone found a fix?

Thanks,

-Karan

ERROR SCREENSHOT
Image

Posted: Sat Apr 14, 2007 6:51 pm
by siberzeka

Posted: Sat Apr 14, 2007 7:16 pm
by acidburnz
-_- tried that. No cigar.

Posted: Sun Apr 15, 2007 4:08 am
by Aroidan
I am currently having the same problem as well. I keep getting

"Exception System.IO.FileNotFoundException was thrown in debuggee:
The specified module could not be found. (Exception from HRESULT: 0x8007007E)089ǃȌ"

I have copied the DLLs to the debug directory and added the reference to the project. I am using SharpDevelop as opposed to the express.

I get this same error when trying to use any part of the IrrLicht engine.

Posted: Mon May 14, 2007 12:07 pm
by Worteltaart
Same applies to me, what I've done:

- Copied the DLL files to my Debug directory
- Added a reference in VS2005

What steps am I missing, this isn't really getting us anywhere hehe