【发布时间】:2016-12-09 19:07:18
【问题描述】:
我为我的 Xamarin.Forms 项目实现了自定义控件,但在尝试为 UWP 平台启动 UrhoSharp 引擎时遇到问题。
问题出现在Run() 方法上调用UrhoSufrace 控件:
// this _engine object is my custom object with some application options
Control.Run<SceneEngine.EngineApplication>(_engine.EngineApplicationOptions);
已经有similar question,但它不能解决我的问题。
我得到的异常:Unable to load DLL 'mono-urho': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Urho.Sdl.SDL_SetMainReady()
at Urho.UWP.UrhoSurface.Run(Type appType, ApplicationOptions options)
at Urho.UWP.UrhoSurface.Run[TGame](ApplicationOptions options)
at IM01App.UWP.Controls.Engine3dRenderer.<OnElementChanged>d__2.MoveNext()
我已经尝试过使用不同版本的 UrhoSharp。
我还检查了mono-urho.dll 文件是否存在,它可以在bin\x86\ 的UWP 项目目录中找到。
【问题讨论】:
标签: c# dll uwp xamarin.forms urhosharp