Hey;
I'm fairly new to C#, and am trying to make a program that's split up into a .exe and a .dll file. I thought I had it all figured out, and it compiles perfectly with MCS (An open-source C# complier that I've been using). It runs perfectly with Mono, but when I try to run it on .NET, I get:
CDurry is the namespace in my dll and coredurry is the class I'm referencing.
Basically I want to know how I'm supposed to reference functions in a dll, and see if I'm doing it right.
Thanx for any assistance,
SigmaX
I'm fairly new to C#, and am trying to make a program that's split up into a .exe and a .dll file. I thought I had it all figured out, and it compiles perfectly with MCS (An open-source C# complier that I've been using). It runs perfectly with Mono, but when I try to run it on .NET, I get:
Code:
Unhandled Exception: System.TypeLoadException: Could not load type CDurry.coredurry from assembly cdurry, Verion-0.1.0.0, Culture=neutral, PublicKeyToken=null.
at consdurry.Main()
CDurry is the namespace in my dll and coredurry is the class I'm referencing.
Basically I want to know how I'm supposed to reference functions in a dll, and see if I'm doing it right.
Thanx for any assistance,
SigmaX