{"action":"created","issue":{"url":"https://api.github.com/repos/oysteinkrog/SQLite.Net-PCL/issues/170","labels_url":"https://api.github.com/repos/oysteinkrog/SQLite.Net-PCL/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/oysteinkrog/SQLite.Net-PCL/issues/170/comments","events_url":"https://api.github.com/repos/oysteinkrog/SQLite.Net-PCL/issues/170/events","html_url":"https://github.com/oysteinkrog/SQLite.Net-PCL/issues/170","id":70380087,"number":170,"title":"JetBrains.Annotations dependency problem","user":{"login":"Aurora12","id":5172598,"avatar_url":"https://avatars.githubusercontent.com/u/5172598?v=3","gravatar_id":"","url":"https://api.github.com/users/Aurora12","html_url":"https://github.com/Aurora12","followers_url":"https://api.github.com/users/Aurora12/followers","following_url":"https://api.github.com/users/Aurora12/following{/other_user}","gists_url":"https://api.github.com/users/Aurora12/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurora12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurora12/subscriptions","organizations_url":"https://api.github.com/users/Aurora12/orgs","repos_url":"https://api.github.com/users/Aurora12/repos","events_url":"https://api.github.com/users/Aurora12/events{/privacy}","received_events_url":"https://api.github.com/users/Aurora12/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-23T11:01:13Z","updated_at":"2015-04-27T09:44:38Z","closed_at":"2015-04-26T10:16:25Z","body":"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.\r\n\r\nThe 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`.)\r\n\r\nWhen I launch desktop version:\r\n\r\n\tCould 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.\r\n\t   at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)\r\n\t   at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)\r\n\t   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)\r\n\t   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)\r\n\t   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)\r\n\t   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)\r\n\t   at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit)\r\n\t   at System.Attribute.InternalGetAttributeUsage(Type type)\r\n\t   at System.Attribute.InternalIsDefined(PropertyInfo element, Type attributeType, Boolean inherit)\r\n\t   at System.Attribute.IsDefined(MemberInfo element, Type attributeType, Boolean inherit)\r\n\t   at System.Reflection.CustomAttributeExtensions.IsDefined(MemberInfo element, Type attributeType, Boolean inherit)\r\n\t   at SQLite.Net.TableMapping..ctor(Type type, IEnumerable`1 properties, CreateFlags createFlags)\r\n\t   at SQLite.Net.SQLiteConnection.CreateAndSetMapping(Type type, CreateFlags createFlags, IDictionary`2 mapTable)\r\n\t   at SQLite.Net.SQLiteConnection.GetMapping(Type type, CreateFlags createFlags)\r\n\t   at SQLite.Net.SQLiteConnection.CreateTable(Type ty, CreateFlags createFlags)\r\n\t   at SQLite.Net.Async.SQLiteAsyncConnection.<>c__DisplayClass11_0.<CreateTablesAsync>b__0()\r\n\t   at System.Threading.Tasks.Task`1.InnerInvoke()\r\n\t   at System.Threading.Tasks.Task.Execute()\r\n\r\nSo, it looks like the reference is wrong or something... Is ReSharper annotations dependency even needed there?"},"comment":{"url":"https://api.github.com/repos/oysteinkrog/SQLite.Net-PCL/issues/comments/96585911","html_url":"https://github.com/oysteinkrog/SQLite.Net-PCL/issues/170#issuecomment-96585911","issue_url":"https://api.github.com/repos/oysteinkrog/SQLite.Net-PCL/issues/170","id":96585911,"user":{"login":"Aurora12","id":5172598,"avatar_url":"https://avatars.githubusercontent.com/u/5172598?v=3","gravatar_id":"","url":"https://api.github.com/users/Aurora12","html_url":"https://github.com/Aurora12","followers_url":"https://api.github.com/users/Aurora12/followers","following_url":"https://api.github.com/users/Aurora12/following{/other_user}","gists_url":"https://api.github.com/users/Aurora12/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurora12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurora12/subscriptions","organizations_url":"https://api.github.com/users/Aurora12/orgs","repos_url":"https://api.github.com/users/Aurora12/repos","events_url":"https://api.github.com/users/Aurora12/events{/privacy}","received_events_url":"https://api.github.com/users/Aurora12/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T09:44:38Z","updated_at":"2015-04-27T09:44:38Z","body":"Thanks for your work, much apppreciated! @oysteinkrog "}}