Monodevelop. Method that visible from Assembly Browser not found. (CS0584)

安稳与你 提交于 2019-12-12 01:08:55

问题


I have the .dll that is part of AForge.NET framework. I can't compile project because:

Error CS0584: Internal compiler error: Could not import type `AForge.Imaging.Filters.Sepia' from `AForge.Imaging, Version=2.2.4.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b' (CS0584) (projectName)
Error CS0584: Internal compiler error: Could not import type `AForge.Imaging.Filters.Invert' from `AForge.Imaging, Version=2.2.4.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b' (CS0584) (projectName)
Error CS0584: Internal compiler error: Method not found: 'AForge.Imaging.UnmanagedImage.CollectActivePixels'. (CS0584) (tryingImageProcessing)

But all of these methods and classes are visible from the assembly browser. Here is the link to the project with error. I also reported a bug to xamarin bugzilla.

Hope this post wouldn't be treated as copy of my previous: question of that post is completely different from current.

UPDATE: Well, I've found what the problem was. @Jason was right: I haven't compiled libraries against MonoTouch, it was compiled against Mono. So I've created new projects and past sources there. AForge (Core) and AForge.Math compiled perfectly while AForge.Imaging hasn't: System.Drawing from github.com/mono/ implement some functions that AForge.Imaging needs. Hence, there is no solution by now.

来源:https://stackoverflow.com/questions/11983272/monodevelop-method-that-visible-from-assembly-browser-not-found-cs0584

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!