2

NuGET によってロードされた MVVMCross ライブラリのロードに問題があります (N ビデオが示唆するように)。これは私のプラグインローダーです:

        private void InitialisePlugins()
        {
            PluginLoader.Instance.EnsureLoaded();

            Cirrious.MvvmCross.Plugins.File.PluginLoader.Instance.EnsureLoaded();
            Cirrious.MvvmCross.Plugins.JsonLocalisation.PluginLoader.Instance.EnsureLoaded();
            Cirrious.MvvmCross.Plugins.ResourceLoader.PluginLoader.Instance.EnsureLoaded();
            Cirrious.MvvmCross.Plugins.Messenger.PluginLoader.Instance.EnsureLoaded();
       }

例外(ファイルがロードされていないようですが、ディレクトリ出力にコピーされています):

>     06-25 16:57:27.538 I/mvx     (  717):   4.21 Setup: PluginManagerFramework start
>     mvx:Diagnostic:  4.21 Setup: PluginManagerFramework start
>     [0:] mvx:Diagnostic:  4.21 Setup: PluginManagerFramework start
>     06-25 16:57:27.611 I/mono-stdout(  717): mvx:Diagnostic:  4.21 Setup: PluginManagerFramework start
>     [0:] 
>     06-25 16:57:27.708 I/mvx     (  717):   4.38 Setup: App start
>     mvx:Diagnostic:  4.38 Setup: App start
>     [0:] mvx:Diagnostic:  4.38 Setup: App start
>     06-25 16:57:27.788 I/mono-stdout(  717): mvx:Diagnostic:  4.38 Setup: App start
>     [0:] 
>     06-25 16:57:27.949 I/mvx     (  717):   4.62 Loading plugin assembly: Cirrious.MvvmCross.Plugins.File.Droid.dll
>     mvx:Diagnostic:  4.62 Loading plugin assembly: Cirrious.MvvmCross.Plugins.File.Droid.dll
>     06-25 16:57:28.028 I/mono-stdout(  717): mvx:Diagnostic:  4.62 Loading plugin assembly: Cirrious.MvvmCross.Plugins.File.Droid.dll
>     [0:] mvx:Diagnostic:  4.62 Loading plugin assembly: Cirrious.MvvmCross.Plugins.File.Droid.dll
>     Unhandled Exception:
>     
>     Cirrious.CrossCore.Exceptions.MvxException: Loading...
>     06-25 16:57:47.188 E/mono    (  717): 
>     06-25 16:57:47.188 E/mono    (  717): Unhandled Exception:
>     06-25 16:57:47.188 E/mono    (  717): Cirrious.CrossCore.Exceptions.MvxException: Could not load file or
> assembly 'Cirrious.MvvmCross.Plugins.File.Droid.dll' or one of its
> dependencies. The system cannot find the file specified. --->
> System.IO.FileNotFoundException: Could not load file or assembly
> 'Cirrious.MvvmCross.Plugins.File.Droid.dll' or one of its
> dependencies. The system cannot find the file specified.
>     06-25 16:57:47.188 E/mono    (  717): File name: 'Cirrious.MvvmCross.Plugins.File.Droid.dll'
>     06-25 16:57:47.188 E/mono    (  717):   at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence
> assemblySecurity, Boolean refonly) [0x00000] in <filename unknown>:0 
>     06-25 16:57:47.188 E/mono    (  717):   at System.AppDomain.Load (System.String assemblyString) [0x00000] in <filename unknown>:0 
>     06-25 16:57:47.188 E/mono    (  717):   at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
>     06-25 16:57:47.188 E/mono    (  717):   at System.Reflection.Assembly.Load (System.String assemblyString)
> [0x00000] in <filename unknown>:0 
>     06-25 16:57:47.188 E/mono    (  717):   at (wrapper remoting-invoke-with-check) Syst06-25 16:57:47.188 E/mono    (  717): 
> at Cirrious.CrossCore.Plugins.MvxFilePluginManager.LoadAssembly
> (System.Type toLoad) [0x0001e] in
> c:\Projects\Misc\MVVMCROSS\CrossCore\Cirr
>     The program 'Mono' has exited with code 0 (0x0).
4

1 に答える 1