问题描述
我正在尝试使用Mono.Cecil编写IL Weaver,并且为了使其在VS2010中可调试,我需要PdbReaderProvider类或ISymbolProvider的某些类似实现.我已经从 http://mono.ximian.com/daily/下载了最新的Mono dll,但是在zip中没有Mono.Cecil.Pdb.dll.我已经从 https://github.com/jbevain/cecil下载了源代码/tree/master/Mono.Cecil ,但我似乎无法在.net 4下编译该特定项目.
有人可以帮我指出Mono.Cecil.Pdb的已编译工作.net dll,最好在其中工作的PdbReaderProvider吗?
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?
推荐答案
实际上,您需要从 Cecil的github存储库.然后,您只需要在VS 2010中打开Mono.Cecil.sln,选择解决方案配置net_4_0_Debug(或net_4_0_Release)并构建解决方案.解决方案是自包含的,因此您不需要其他任何东西.
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.
您将在bin/net_4_0_Debug(或bin/net_4_0_Release)中同时获得Mono.Cecil.dll和Mono.Cecil.Pdb.dll.
You'll get both Mono.Cecil.dll and Mono.Cecil.Pdb.dll inside bin/net_4_0_Debug (or bin/net_4_0_Release).
这篇关于在哪里可以获得Mono.Cecil.Pdb.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!