Hi,

You can update to 0.9.5, Mono.Cecil-SL has been removed, and you can
use the configuration you want to target the platform you want.

Jb

On Mon, Jun 13, 2011 at 10:35 PM, [email protected]
<[email protected]> wrote:
> I have identified my problem, it is in ModuleDefinition.cs,
> GetFullyQualifiedName(), for some reason, the SILVERLIGHT constant was
> defined, when I stepped through the code, it went to the last line, return
> string.Empty.  I did a rebuild all, and the problem is gone.  I checked the
> projects, only Mono.Cecil-SL has the constant defined, how did it managed to
> affect Mono.Cecil, I have no idea.  The silverlight version has the same
> name, but it is in a different directory, DebugSL, so I don't think I was
> using the wrong version of Mono.Cecil.dll.
>
>
> public static string GetFullyQualifiedName (this Stream self)
>
> {
>
> #if !SILVERLIGHT
>
>   var file_stream = self as FileStream;
>
> ...
>
> #else
>
>    return string.Empty;
>
> #endif}
>
> --
> --
> mono-cecil

-- 
--
mono-cecil

Reply via email to