大家好,我尝试使用 NRefactory(Vb) https://github.com/icsharpcode/NRefactory/但它没有附带 mono.cecil.dll 所以我也下载了它,但是当我将它合并在一起时,版本似乎 关闭(我有错误 Mono.Collections 缺少类)
有人似乎能够让 NRefactory 工作吗?
编辑: 顺便说一句,我已经更改为 Mono.Cecil 0.9.4。但是,当我尝试构建 ICSharpCode.NRefactory 时,我遇到了一些错误:
Error 6 'Mono.Cecil.PInvokeInfo' does not contain a definition for
'IsBestFitDisabled' and no extension method 'IsBestFitDisabled' accepting a first argument of type 'Mono.Cecil.PInvokeInfo' could be found (are you missing a using directive or an assembly reference?) C:\Users\Joseph\Desktop\Test\NRefactory\ICSharpCode.NRefactory\TypeSystem\CecilLoader.cs 376 14 ICSharpCode.NRefactory post)
最佳答案
在新版本中,现在调用 IsBestFitDisabled 方法:IsBestFistDisabled 里面有一个额外的“s”...:)
关于c# - NRefactory 缺少 dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5755894/