This has been answered in:

http://stackoverflow.com/questions/9109506/mono-cecil-fails-to-process-a-silverlight-5-assembly

On Wed, Feb 1, 2012 at 7:25 PM, Vitaly <[email protected]> wrote:
> When I am trying to read Silverlight 5 assembly via  Mono.Cecil
> version 0.9.3.0, I am getting the following exception:
>
> System.NotSupportedException: Version not supported: 5.0.5.0
> ------
> at Mono.Cecil.BaseAssemblyResolver.GetCorlib(AssemblyNameReference
> reference) in C:\programming\mono.cecil\jbevain-cecil-5df660e
> \Mono.Cecil\BaseAssemblyResolver.cs:line 200
> ------
> at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name)
> in C:\programming\mono.cecil\jbevain-cecil-5df660e\Mono.Cecil
> \BaseAssemblyResolver.cs:line 117
> ....
>
> It happens because the reference in SIlverlight project is to mscorlib
> 5.0.5.0 while the GetCorlib function doesn't seem to be handling these
> cases.
>
> Is there a solution to this issue?
>
> --
> --
> mono-cecil

-- 
--
mono-cecil

Reply via email to