There is no 'system' assembly. Try loading 'System'. What is your bug number for this?
Jackson On Fri, 2004-06-18 at 09:44, infodate wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello! > > I have just strated testing my .NET app on mono and passed by sevral bugs > which apparantly were already fixed but this one > (Assembly.Load(String name)) is a real blocker for me and was reported to be > fixed several weeks ago. That seems not to be the case > entirely. My application creates new AppDomain and than creates new instance > of class RemoteLoader (in Beta3 there is still bug for remote > instantiation of objects with constructors with parameters which was > reported to be fixed in CVS - but compilation from CVS is not > working!?) and calls a methods of remote loader to load assembly i.e. System > or System.Desing or whatever. If i do pass simple name > consiting of assrmbly name (and not module name with .dll extension) the > following exception is thrown: > > System.IO.FileNotFoundException: File 'system' not found. > in (unmanaged) (wrapper managed-to-native) System.AppDomain:LoadAssembly > (string,System.Security.Policy.Evidence) > in <0x00004> (wrapper managed-to-native) System.AppDomain:LoadAssembly > (string,System.Security.Policy.Evidence) > in <0x0006c> (wrapper remoting-invoke-with-check) > System.AppDomain:LoadAssembly (string,System.Security.Policy.Evidence) > in <0x00065> System.AppDomain:Load (string) > in <0x0005a> (wrapper remoting-invoke-with-check) System.AppDomain:Load > (string) > in <0x0001d> System.Reflection.Assembly:Load (string) > in <0x00064> CilDebugging.RemoteLoader:ResolveAssembly > (int&,System.Collections.ArrayList,bool&) > > 18:39:03.218 Console Application level exception: > Rethrow RemoteLoader.ResolveAssembly() exception > in <0x006eb> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke > (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Mess > aging.IMessage,System.Exception&,object[]&) > > The described behaviour is inconsistent with .NET specification and surely > is a bug. > > Any comments? > > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0.3 > > iQA/AwUBQNMcAoeEyL6RuXD8EQJ8VgCfY59grUQpnTaK7hcn7a5h4/vEACsAnjBi > GYyz2OFP5I45LBbGwCtWMCMb > =3t10 > -----END PGP SIGNATURE----- > > > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
