C# HelloWorld example compiles; but runtime 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
acidburnz
Posts: 3
Joined: Sat Apr 14, 2007 5:41 pm
Location: Canada

C# HelloWorld example compiles; but runtime error :(

Post 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
siberzeka
Posts: 13
Joined: Sat Mar 31, 2007 2:31 pm

Post by siberzeka »

acidburnz
Posts: 3
Joined: Sat Apr 14, 2007 5:41 pm
Location: Canada

Post by acidburnz »

-_- tried that. No cigar.
Aroidan
Posts: 6
Joined: Sun Apr 15, 2007 3:52 am

Post 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.
Worteltaart
Posts: 17
Joined: Sat Mar 24, 2007 5:03 pm
Location: Holland

Post 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
Locked