Hello,

 

i'm just starting with mono. So i created two test classes TestClass1 and
TestClass2 and compile them to TestClasses.dll. I have a class Program.cs
which references TestClasses.dll and is compiled to TestClasses.exe. If i
run the Program mono throws a System.TypeLoadException. If i change -out to
Test.exe everything runs fine.

 

So, is it possible to have same name for .dll and .exe ?

 

 

Makefile is (class code not included because its trivial):

 

all:

  gmcs /t:library -out:TestClasses.dll TestClass1.cs TestClass2.cs

  gmcs /t:exe -out:TestClasses.exe -r:TestClasses.dll Program.cs

 

 

Hope this is the right list, because it's my first post here.

 

Claus

 

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to