[Mono-list] C# code compiled on Linux and run on Windows
James Darbyshire
jamesdarbyshire at gmail.com
Fri May 27 00:48:25 EDT 2011
Have you had a look inside the dll using Reflector [0]?
This will show you the Method names of your DLL.
As Federico has suggested, I think you must be missing an assembly which is
stopping you from loading your DLL.
Regards,
JD
[0] http://reflector.red-gate.com
On 27 May 2011 12:09, Federico Delgado <flaker.kapper at gmail.com> wrote:
> It seems like you are missing a dependency outside the framework. What is
> that CureAgent assembly missing.
> On May 26, 2011 8:39 PM, "doal" <doal.miller at mir3.com> wrote:
> > OK, I took a look at the files with BitDiffer which is for .NET
> assemblies.
> > It loaded and showed me the info for the dll that I built with
> VisualStudio.
> > However, when I tried to load the dll I build on Linux it gave me this.
> >
> > Failed to load one or more versions of this assembly: Could not load file
> or
> > assembly 'CureTransportAgent, Version=0.0.0.0, Culture=neutral,
> > PublicKeyToken=null' or one of its dependencies. The system cannot find
> the
> > file specified.
> >
> > Is there a parameter to csc to tell it to generate this information?
> >
> > --
> > View this message in context:
> http://mono.1490590.n4.nabble.com/C-code-compiled-on-Linux-and-run-on-Windows-tp3553766p3553944.html
> > Sent from the Mono - General mailing list archive at Nabble.com.
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
--
Regards,
James Darbyshire
jamesdarbyshire at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110527/afc0a531/attachment.html
More information about the Mono-list
mailing list