방금 MVX를 사용하기 시작 했으므로 재현하기에 충분했습니다.Cirrious.MvvmCross.Plugins.WebBrowser.PluginLoader 유형의 플러그인 어셈블리를로드 할 수 없습니다.
요약 :
닌자 선택 JSON 및 웹 브라우저 플러그인과 새로운 솔루션을 만듭니다. WPF> App.xaml.cs를> DoSetup> setup.initialize()
참고 :
에만 JSON 플러그인이 추가 된 경우,이 오류가 발생 WPF 응용 프로그램이 실행될 때 던져 예외가있을 것 발생하지 않습니다.
단계 :
- 열기 VS2013는
- 확실히 닌자 코더 플러그인이 3.2.0
- 은 도구> 닌자 코더로 이동하여 설치되어 있는지 확인합니다 (그래서 프로젝트/솔루션은 개방 없을 것) ... > 프로젝트 추가에
- 화면 '옵션 구축'을, CLI 프로젝트 이름 'MvxTest'를 추가, 프로젝트 세부 사항에 다음
- 을 클릭, 프레임 워크에 다음
- 을 클릭 보기 모델에
- 다음 CK, '웹 브라우저'
- Nuget에가 선택 'JSON'를 선택, 플러그인에 다음
- 을 클릭하고 'Newtonsoft JSON'
- 이 모든 것을 창조하자 마침을 클릭 시작 프로젝트
- 시작 WPF 프로젝트로
- 설정 "MvxTest.WPF"
오류 :
An unhandled exception of type 'Cirrious.CrossCore.Exceptions.MvxException' occurred in Cirrious.CrossCore.dll
Additional information: could not load plugin assembly for type Cirrious.MvvmCross.Plugins.WebBrowser.PluginLoader
at Cirrious.CrossCore.Plugins.MvxFilePluginManager.LoadAssembly(Type toLoad)
at Cirrious.CrossCore.Plugins.MvxFilePluginManager.FindPlugin(Type toLoad)
at Cirrious.CrossCore.Plugins.MvxPluginManager.ExceptionWrappedLoadPlugin(Type toLoad)
at Cirrious.CrossCore.Plugins.MvxPluginManager.EnsurePlatformAdaptionLoadedT
at Cirrious.MvvmCross.Plugins.WebBrowser.PluginLoader.EnsureLoaded()
at Cirrious.CrossCore.Plugins.MvxPluginManager.EnsurePluginLoaded(IMvxPluginLoader pluginLoader)
at Cirrious.CrossCore.Plugins.MvxPluginManager.EnsurePluginLoaded(Type type)
at Cirrious.CrossCore.Plugins.MvxPluginManager.EnsurePluginLoadedTType
at Cirrious.CrossCore.Plugins.MvxPluginBootstrapAction1.Load(IMvxPluginManager manager) at Cirrious.CrossCore.Plugins.MvxPluginBootstrapAction1.RunAction()
at Cirrious.CrossCore.IoC.MvxSimpleIoCContainer.InternalSetResolver(Type tInterface, IResolver resolver)
at Cirrious.CrossCore.IoC.MvxSimpleIoCContainer.RegisterSingleton(Type tInterface, Object theObject)
at Cirrious.CrossCore.IoC.MvxSimpleIoCContainer.RegisterSingletonTInterface
at Cirrious.CrossCore.Mvx.RegisterSingletonTInterface
at Cirrious.MvvmCross.Platform.MvxSetup.InitializePluginFramework()
at Cirrious.MvvmCross.Platform.MvxSetup.InitializeSecondary()
at Cirrious.MvvmCross.Platform.MvxSetup.Initialize()
at MvxTest.Wpf.App.DoSetup() in c:\DEVn\MvxTest\MvxTest.Wpf\App.xaml.cs:line 32
at MvxTest.Wpf.App.OnActivated(EventArgs e) in c:\DEVn\MvxTest\MvxTest.Wpf\App.xaml.cs:line 48
at System.Windows.Application.WmActivateApp(Int32 wParam)
at System.Windows.Application.AppFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
... 나는 닌자 플러그인 최근 여부 업데이트되었습니다 모르겠어요. 최신 패키지를 수동으로 추가하고 여전히이 문제가 있는지 확인하는 것이 좋습니다. – PkL728