Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I get Mono.Cecil.Pdb.dll?

I'm trying to write a IL Weaver with Mono.Cecil, and for it to remain debugable in VS2010, I need the PdbReaderProvider class, or some similar implementation of ISymbolProvider. I've downloaded the latest Mono dlls from http://mono.ximian.com/daily/, but in the zip there is no Mono.Cecil.Pdb.dll. I've downloaded the source code from https://github.com/jbevain/cecil/tree/master/Mono.Cecil but I can't seem to be able to get that particular project compile under .net 4.
Could somebody help me out and point to a compiled working .net dll of Mono.Cecil.Pdb, preferably with a working PdbReaderProvider inside?

like image 735
TDaver Avatar asked Jan 19 '11 21:01

TDaver


2 Answers

Indeed, you need to get the source from Cecil's github repository. Then you just have to open Mono.Cecil.sln inside VS 2010, select the solution configuration net_4_0_Debug (or net_4_0_Release) and build the solution. The solution is self contained so you don't need anything else.

You'll get both Mono.Cecil.dll and Mono.Cecil.Pdb.dll inside bin/net_4_0_Debug (or bin/net_4_0_Release).

like image 198
Jb Evain Avatar answered Oct 22 '22 00:10

Jb Evain


Alternatively, get the NuGet package which includes all Cecil assemblies. If you're on the MS stack, of course.

like image 2
skrebbel Avatar answered Oct 22 '22 00:10

skrebbel