NRefactory 缺少 dll
大家好,我尝试使用 NRefactory(Vb) https://github.com/icsharpcode/NRefactory/< /a> 但它没有附带 mono.cecil.dll 所以我也下载了它,但是当我将它合并在一起时,版本似乎 关闭(我有错误 Mono.Collections 缺少类)
似乎有人能够让 NRefactory 工作吗?
编辑: 顺便说一句,我已经更改为 Mono.Cecil 0.9.4。但是,当我尝试构建 ICSharpCode.NRefactory 时,我遇到了一些错误:
错误 6“Mono.Cecil.PInvokeInfo”不包含以下定义
“IsBestFitDisabled”且无扩展名 方法“IsBestFitDisabled”接受 类型的第一个参数 'Mono.Cecil.PInvokeInfo' 可能是 找到了(您是否缺少使用 指令或程序集 参考?) C:\Users\Joseph\Desktop\Test\NRefactory\ICSharpCode.NRefactory\TypeSystem\CecilLoader.cs 376 14 ICSharpCode.NRefactory 帖子)
Heys all, I've tried to use NRefactory(Vb) https://github.com/icsharpcode/NRefactory/ but it didn't come with mono.cecil.dll so i downloaded that too, but when i merged it together the versions seem
to be off (i had error Mono.Collections missing class)
does anyone seem to be able to get NRefactory working?
Edit:
btw i've changed to Mono.Cecil 0.9.4. However when i try to build ICSharpCode.NRefactory i had some errors:
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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在新版本中,现在调用方法 IsBestFitDisabled:IsBestFistDisabled
里面有一个额外的“s”......:)
In the new Version the Method IsBestFitDisabled now is called: IsBestFistDisabled
The got an extra "s" inside... :)
您是否确保按照 GitHub 页面上的说明获取 Mono.Cecil 0.9.4?
它具有与之前的 Mono.Cecil 0.6.9 不同的 API。
Did you make sure to get Mono.Cecil 0.9.4 as mentioned on the GitHub page?
It has a different API than the previous Mono.Cecil 0.6.9.