[Mono-devel-list] CS0006 / could not find assembly

Ulrich Staudinger us at activestocks.de
Sun Oct 31 17:44:19 EST 2004


Hello,

can someone please help me?

i have the following strange occurance and i can't find a solution!

That's in my folder:
root at usdev:/home/us/.NET/ServerTestsNet# ls
CortalConsors.TradingAPI.dll  ServerGate.cs  ServerGate.exe


I export MONO_PATH:
root at usdev:/home/us/.NET/ServerTestsNet# export 
MONO_PATH=/home/us/.NET/ServerTestsNet/


and i try to compile:
root at usdev:/home/us/.NET/ServerTestsNet# mcs ServerGate.cs 
-r:CortalConsors.TradingAPI.dll
 
** (/usr/share/dotnet/bin/mcs/mcs.exe:10755): WARNING **: Could not find 
assembly MDG, references from 
/home/us/.NET/ServerTestsNet/CortalConsors.TradingAPI.dll 
(assemblyref_index=1)
     Major/Minor: 1,0
     Build:       1,0
     Token:       98927b61ec42a6b8
System error: Datei oder Verzeichnis nicht gefunden
 
error CS0006: Cannot find assembly `CortalConsors.TradingAPI.dll'
Log:
 
Compilation failed: 1 error(s), 0 warnings




When trying to compile with an absolute filename, the same problem occurs:
root at usdev:/home/us/.NET/ServerTestsNet# mcs ServerGate.cs 
-r:/home/us/.NET/ServerTestsNet/CortalConsors.TradingAPI.dll
 
** (/usr/share/dotnet/bin/mcs/mcs.exe:10761): WARNING **: Could not find 
assembly MDG, references from 
/home/us/.NET/ServerTestsNet/CortalConsors.TradingAPI.dll 
(assemblyref_index=1)
     Major/Minor: 1,0
     Build:       1,0
     Token:       98927b61ec42a6b8
System error: Datei oder Verzeichnis nicht gefunden
 
error CS0006: Cannot find assembly 
`/home/us/.NET/ServerTestsNet/CortalConsors.TradingAPI.dll'
Log:
 
Compilation failed: 1 error(s), 0 warnings
root at usdev:/home/us/.NET/ServerTestsNet#




What do i need to do to fix this Cannot find assembly problem?

Many thanks in advance,
regards,
Ulrich




More information about the Mono-devel-list mailing list