forked from praeclarum/sqlite-net
-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Description
I'm using the latest SQLite.Net.Async PCL 3.0.4-beta in my Universal Store Project. Works fine when built for WP8.1, but gets me an error (below) when built for Windows 8.1. The error is thrown on the first CreateTableAsync() call.
The package installs JetBrains.Annotations 9.1.1 dependency which gets you a reference to JetBrains.Annotations.PCL1.dll in desktop part of the project. (While when installing for Windows Phone part, it gets you a reference to JetBrains.Annotations.PCL328.dll.)
When I launch desktop version:
Could not load file or assembly 'JetBrains.Annotations.PCL328, Version=8.0.5.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' or one of its dependencies. The system cannot find the file specified.
at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit)
at System.Attribute.InternalGetAttributeUsage(Type type)
at System.Attribute.InternalIsDefined(PropertyInfo element, Type attributeType, Boolean inherit)
at System.Attribute.IsDefined(MemberInfo element, Type attributeType, Boolean inherit)
at System.Reflection.CustomAttributeExtensions.IsDefined(MemberInfo element, Type attributeType, Boolean inherit)
at SQLite.Net.TableMapping..ctor(Type type, IEnumerable`1 properties, CreateFlags createFlags)
at SQLite.Net.SQLiteConnection.CreateAndSetMapping(Type type, CreateFlags createFlags, IDictionary`2 mapTable)
at SQLite.Net.SQLiteConnection.GetMapping(Type type, CreateFlags createFlags)
at SQLite.Net.SQLiteConnection.CreateTable(Type ty, CreateFlags createFlags)
at SQLite.Net.Async.SQLiteAsyncConnection.<>c__DisplayClass11_0.<CreateTablesAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
So, it looks like the reference is wrong or something... Is ReSharper annotations dependency even needed there?
Metadata
Metadata
Assignees
Labels
No labels