Open
Description
Testing 1.5.136-beta
that references Raw 1.1.7 on a macOS app, I get:
Could not find `SQLitePCLRaw.provider.sqlite3` referenced by assembly `SQLitePCLRaw.batteries_v2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8226ea5df37bcae9`.
@ericsink I believe it should be e_sqlite3
not sqlite3
to match the references:
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Xamarin.Mac" />
<Reference Include="SQLitePCLRaw.core">
<HintPath>..\packages\SQLitePCLRaw.core.1.1.7\lib\Xamarin.Mac20\SQLitePCLRaw.core.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.provider.e_sqlite3">
<HintPath>..\packages\SQLitePCLRaw.provider.e_sqlite3.macos.1.1.7\lib\Xamarin.Mac20\SQLitePCLRaw.provider.e_sqlite3.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.batteries_green">
<HintPath>..\packages\SQLitePCLRaw.bundle_green.1.1.7\lib\Xamarin.Mac20\SQLitePCLRaw.batteries_green.dll</HintPath>
</Reference>
<Reference Include="SQLitePCLRaw.batteries_v2">
<HintPath>..\packages\SQLitePCLRaw.bundle_green.1.1.7\lib\Xamarin.Mac20\SQLitePCLRaw.batteries_v2.dll</HintPath>
</Reference>
<Reference Include="SQLite-net">
<HintPath>..\packages\sqlite-net-pcl.1.5.136-beta\lib\netstandard1.1\SQLite-net.dll</HintPath>
</Reference>
</ItemGroup>
Full stack trace:
Could not find `SQLitePCLRaw.provider.sqlite3` referenced by assembly `SQLitePCLRaw.batteries_v2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8226ea5df37bcae9`.
Could not find `SQLitePCLRaw.provider.sqlite3` referenced by assembly `SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null`.
Could not find `SQLitePCLRaw.provider.sqlite3` referenced by assembly `MacTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null`.
2017-08-02 10:28:30.894 MacTest[80342:39082066]
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'SQLitePCLRaw.provider.sqlite3' or one of its dependencies
File name: 'SQLitePCLRaw.provider.sqlite3'
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x001a9] in /Library/Frameworks/Xamarin.Mac.framework/Versions/3.99.0.80/src/mono/mcs/class/corlib/System/AppDomain.cs:777
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/3.99.0.80/src/mono/mcs/class/corlib/System/AppDomain.cs:714
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName)
at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/3.99.0.80/src/mono/mcs/class/corlib/System.Reflection/Assembly.cs:600
at ObjCRuntime.Runtime.CollectReferencedAssemblies (System.Collections.Generic.List`1[T] assemblies, System.Reflection.Assembly assembly) [0x0006d] in /Users/builder/data/lanes/5024/9ce8f256/source/xamarin-macios/src/ObjCRuntime/Runtime.cs:464
at ObjCRuntime.Runtime.CollectReferencedAssemblies (System.Collections.Generic.List`1[T] assemblies, System.Reflection.Assembly assembly) [0x0006d] in /Users/builder/data/lanes/5024/9ce8f256/source/xamarin-macios/src/ObjCRuntime/Runtime.cs:464
at ObjCRuntime.Runtime.CollectReferencedAssemblies (System.Collections.Generic.List`1[T] assemblies, System.Reflection.Assembly assembly) [0x0006d] in /Users/builder/data/lanes/5024/9ce8f256/source/xamarin-macios/src/ObjCRuntime/Runtime.cs:464
at ObjCRuntime.Runtime.RegisterEntryAssembly (System.Reflection.Assembly entry_assembly) [0x00035] in /Users/builder/data/lanes/5024/9ce8f256/source/xamarin-macios/src/ObjCRuntime/Runtime.cs:425
at ObjCRuntime.Runtime.RegisterAssemblies () [0x00006] in /Users/builder/data/lanes/5024/9ce8f256/source/xamarin-macios/src/ObjCRuntime/Runtime.cs:401
at AppKit.NSApplication.Init () [0x00022] in /Users/builder/data/lanes/5024/9ce8f256/source/xamarin-macios/src/AppKit/NSApplication.cs:60
at MacTest.MainClass.Main (System.String[] args) [0x00001] in /Users/fak/Projects/TestSql/MacTest/Main.cs:9