Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Problem building for Windows Store with windows 10

Discussion in 'Windows' started by Catfish, Sep 29, 2015.

  1. Catfish

    Catfish

    Joined:
    Sep 3, 2014
    Posts:
    7
    I tried to build for Windows Store, SDK Universal 10 but it do not work.
    However it works well in the Editor.

    I suspected the issue was related to sqlite but maybe not...
    I copied Mono.Data.Sqlite.dll and System.Data.dll (from C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0) and also sqlite3.dll (from C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\DLLs) to Assets/Plugins in the unity project folder.
    I import System.Data, Mono.Data.Sqlite, System.Collections.Generic, System.IO, System.Text, System.Data.Linq, DbLinq in my db connections .js script.

    It works perfectly on Mac OSX, iOS and Android devices.

    The project is in UnityScript
    Unity version 5.2.1f1 and 5.2.1p1 (64bit) PRO
    Windows 10 Pro
    Visual Studio 2015 Community installed by Unity
    I also installed Windows standalone SDK for Windows 10

    Please help!

    This is the error in Console:

    UnityException: Failed to run reference rewriter with command --target="Temp\StagingArea\System.Data.dll" --additionalreferences="Temp\StagingArea","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ActivationCameraSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ContactActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsPhoneContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsVoipContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.LockScreenCallContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Resources.Management.ResourceIndexerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Search.Core.SearchCoreContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Search.SearchContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.SocialInfo.SocialInfoContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Wallet.WalletContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Custom.CustomDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.DevicesLowLevelContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Portable.PortableDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Printers.Extensions.ExtensionsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Printers.PrintersContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Scanners.ScannerDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardEmulatorContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Sms.LegacySmsApiContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Embedded.DeviceLockdown.DeviceLockdownContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.UniversalApiContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Gaming.Preview.GamesEnumerationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Graphics.Printing3D.Printing3DContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Deployment.Preview.DeploymentPreviewContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Workplace.WorkplaceSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Capture.AppCaptureContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Capture.CameraCaptureUIContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Devices.CallControlContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.MediaControlContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Playlists.PlaylistsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Protection.ProtectionRenewalContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.Connectivity.WwanContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.Sockets.ControlChannelTriggerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.PhoneContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.StartScreen.DualSimTileContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Security.EnterpriseData.EnterpriseDataContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Security.ExchangeActiveSyncProvisioning.EasContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.GuidanceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.LocalSearchContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileHardwareTokenContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileRetailInfoContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileSharedModeContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.SystemManufacturers.SystemManufacturersContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.SystemManagementContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.UserProfile.UserProfileContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.UserProfile.UserProfileLockScreenContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.ApplicationSettings.ApplicationsSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Core.AnimationMetrics.AnimationMetricsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Core.CoreWindowDialogsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.WebUI.Core.WebUICommandBarContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Xaml.Hosting.HostingContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Web.Http.Diagnostics.HttpDiagnosticsContract\1.0.0.0" --platform="C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd" --support="Temp\StagingArea\WinRTLegacy.dll" --supportpartialns=Unity.Partial --system=System --dbg=pdb --lock=UWP\project.lock.json --alt=System.Xml.Serialization;System.Collections,System.Collections.NonGeneric;System.Reflection,System.Reflection.TypeExtensions;System.IO,System.IO.FileSystem;System.Net,System.Net.Primitives;System.Net.Sockets,System.Net.Primitives;System.Xml,System.Xml.XmlDocument --ignore=System.IConvertible,mscorlib.
    Error: type `System.Console` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor().
    Error: method `System.IO.TextWriter System.Console::get_Out()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor().
    Error: type `System.Console` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor(System.Data.DataRow[]).
    Error: method `System.IO.TextWriter System.Console::get_Out()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor(System.Data.DataRow[]).
    Error: type `System.MarshalByRefObject` doesn't exist in target framework. It is referenced from System.Data.dll at Mono.Data.SqlExpressions.Parser/YYRules.
    Error: type `System.MarshalByRefObject` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser/YYRules::.ctor().
    Error: method `System.Void System.MarshalByRefObject::.ctor()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser/YYRules::.ctor().
    Error: type `System.Console` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.yydebug.yyDebugSimple::println(System.String).
    Error: method `System.IO.TextWriter System.Console::get_Error()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.yydebug.yyDebugSimple::println(System.String).
    Error: type `System.ComponentModel.ExpandableObjectConverter` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ColumnTypeConverter.
    Error: type `System.ComponentModel.ExpandableObjectConverter` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ColumnTypeConverter::.ctor().
    Error: method `System.Void System.ComponentModel.ExpandableObjectConverter::.ctor()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ColumnTypeConverter::.ctor().
    Error: type `System.ComponentModel.ITypeDescriptorContext` doesn't exist in target framework. It is referenced from System.Data.dll at System.Object System.Data.ColumnTypeConverter::ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type).
    Error: type `System.ComponentModel.ITypeDescriptorContext` doesn't exist in target framework. It is referenced from System.Data.dll at System.Boolean System.Data.ColumnTypeConverter::CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type).
    Error: type `System.ComponentModel.TypeConverterAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
    Error: method `System.Void System.ComponentModel.TypeConverterAttribute::.ctor(System.Type)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
    Error: type `System.ComponentModel.DefaultPropertyAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
    Error: method `System.Void System.ComponentModel.DefaultPropertyAttribute::.ctor(System.String)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::.ctor().
    Error: method `System.Void System.ComponentModel.EventHandlerList::.ctor()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::.ctor().
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::.ctor().
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::add_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::add_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
    Error: method `System.Void System.ComponentModel.EventHandlerList::AddHandler(System.Object,System.Delegate)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::add_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::remove_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::remove_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
    Error: method `System.Void System.ComponentModel.EventHandlerList::RemoveHandler(System.Object,System.Delegate)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::remove_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::_onConstraintNameChange(System.String).
    Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::_onConstraintNameChange(System.String).
    Error: method `System.Delegate System.ComponentModel.EventHandlerList::get_Item(System.Object)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::_onConstraintNameChange(System.String).
    Error: type `System.ComponentModel.EditorAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
    Error: method `System.Void System.ComponentModel.EditorAttribute::.ctor(System.String,System.String)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
    Error: type `System.ComponentModel.DefaultEventAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
    Error: method `System.Void System.ComponentModel.DefaultEventAttribute::.ctor(System.String)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
    Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
    Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
    Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ConstraintCollection::add_CollectionChanged(System.ComponentModel.CollectionChangeEventHandler).
    Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ConstraintCollection::add_CollectionChanged(System.ComponentModel.CollectionChangeEventHandler).
    Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ConstraintCollection::add_CollectionChanged(System.ComponentModel.CollectionChangeEventHandler).
    Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ConstraintCollection::add_C<message truncated>
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673
    Seems those assemblies are incompatible with Universal Windows 10 Apps, click on the plugin, deselect Any Platform, and select only those platforms which are compatible.
     
  3. Catfish

    Catfish

    Joined:
    Sep 3, 2014
    Posts:
    7
    Thank you for the reply.

    As you suggest, for the .DLLs in my Plugins folder Mono.Data.Sqlite, Sqlite3 and System.data, I selected WSAPlayer Platform only. Unfortunately the same error occurs.

    Does the problem could maybe related to some path issue? Sentence "...doesn't exist in target framework" does appears many time in the error log...

    Or could it be the fact that my scripts ar all UnityScripts instead of C#? I also tried to set Compilation Overrides to "None" and to "Use Net Core Partially" with the same result.

    I really can't understand.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    The error in question ("doesn't exist in target framework") means that mentioned types are not present in Windows Store profile of .NET and in result none of the plugins can use them.

    Read this, it might give you higher understanding of the issue:

    http://docs.unity3d.com/Manual/windowsstore-missingtypes.html

    Unfortunately, it seems that your plugins use types that are both missing and that we haven't implemented ourselves.
     
  5. Catfish

    Catfish

    Joined:
    Sep 3, 2014
    Posts:
    7
    I'm trying to understand this, but does it means that I can't build for Windows store because I use Sqlite?
    Sqlite is the most common and used DB, there is not a way to use it in Windows...?
    NOBODY in the world, except me, use Sqlite in their app for Windows Store...?
    Moreover it works correctly in the simulator in Editor.
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Probably there is a way to do it, but the version you're using seems not to be compatible with Windows Store. Perhaps any other forum users have experience with it and could recommend where to get a compatible version.
     
  7. Catfish

    Catfish

    Joined:
    Sep 3, 2014
    Posts:
    7
    I just tried to build for Windows Store SDK 8.1 desktop (I installed Visual Studio Express 2013) instead of SDK Universal 10.
    Do not work, but a different error appears.
    Have you any ideas?
    This time it do not seem to be related to Sqlite...


    UnityException: Failed to run reference rewriter with command --target="Temp\StagingArea\Assembly-UnityScript.dll" --additionalreferences="Temp\StagingArea" --platform="C:\Program Files (x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral\Windows.winmd" --support="Temp\StagingArea\WinRTLegacy.dll" --supportpartialns=Unity.Partial --system=System --dbg=pdb --framework="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1" --alt=System.Xml.Serialization --ignore=System.IConvertible,mscorlib.
    Catastrophic failure while running rrw: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    in Unity.ReferenceRewriter.SearchPathAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
    in Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
    in Mono.Cecil.TypeReference.Resolve()
    in Unity.ReferenceRewriter.RewriteTypeReferences.Visit(TypeReference type, String referencingEntityName)
    in Unity.ReferenceRewriter.ReferenceDispatcher.DispatchFields(TypeDefinition type, String referencingEntityName)
    in Unity.ReferenceRewriter.ReferenceDispatcher.Dispatch(TypeDefinition type)
    in Unity.ReferenceRewriter.ReferenceDispatcher.Dispatch()
    in Unity.ReferenceRewriter.RewriteTypeReferences.Run()
    in Unity.ReferenceRewriter.RewriteOperation.Execute(RewriteContext context)
    in Unity.ReferenceRewriter.Program.Main(String[] args)

    PostProcessWinRT.RunReferenceRewriter () (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:543)
    PostProcessWinRT.Process () (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:118)
    UnityEditor.Metro.BuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:99)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    UnityEditor.HostView:OnGUI()
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    It cannot apparently find System.Data.dll. I suppose mono sqlite dll is referencing that?
     
  9. Catfish

    Catfish

    Joined:
    Sep 3, 2014
    Posts:
    7
    I had accidentally deleted System.Data.dll.
    Once I had put it in place, the following error is shown.
    It's similar to the error appeared setting the build option to Windows Store SDK Universal 10. Can't find some types in the framework.

    I really would like to know if someone has found a way to work with Windows Store and Sqlite!


    UnityException: Failed to run reference rewriter with command --target="Temp\StagingArea\Mono.Data.Sqlite.dll" --additionalreferences="Temp\StagingArea" --platform="C:\Program Files (x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral\Windows.winmd" --support="Temp\StagingArea\WinRTLegacy.dll" --supportpartialns=Unity.Partial --system=System --dbg=pdb --framework="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5.1" --alt=System.Xml.Serialization --ignore=System.IConvertible,mscorlib.
    Error: type `System.EntryPointNotFoundException` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Void Mono.Data.Sqlite.SQLite3::Open(System.String,Mono.Data.Sqlite.SQLiteOpenFlagsEnum,System.Int32,System.Boolean).
    Error: type `System.Console` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Void Mono.Data.Sqlite.SQLite3::Open(System.String,Mono.Data.Sqlite.SQLiteOpenFlagsEnum,System.Int32,System.Boolean).
    Error: method `System.Void System.Console::WriteLine(System.String)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Void Mono.Data.Sqlite.SQLite3::Open(System.String,Mono.Data.Sqlite.SQLiteOpenFlagsEnum,System.Int32,System.Boolean).
    Error: type `System.Threading.Thread` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Boolean Mono.Data.Sqlite.SQLite3::Step(Mono.Data.Sqlite.SqliteStatement).
    Error: type `System.Threading.Thread` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Boolean Mono.Data.Sqlite.SQLite3::Step(Mono.Data.Sqlite.SqliteStatement).
    Error: method `System.Threading.Thread System.Threading.Thread::get_CurrentThread()` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Boolean Mono.Data.Sqlite.SQLite3::Step(Mono.Data.Sqlite.SqliteStatement).
    Error: type `System.Threading.Thread` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Boolean Mono.Data.Sqlite.SQLite3::Step(Mono.Data.Sqlite.SqliteStatement).
    Error: method `System.Boolean System.Threading.Thread::Join(System.Int32)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Boolean Mono.Data.Sqlite.SQLite3::Step(Mono.Data.Sqlite.SqliteStatement).
    Error: type `System.Threading.Thread` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteStatement Mono.Data.Sqlite.SQLite3::prepare(Mono.Data.Sqlite.SqliteConnection,System.String,Mono.Data.Sqlite.SqliteStatement,System.UInt32,System.String&).
    Error: type `System.Threading.Thread` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteStatement Mono.Data.Sqlite.SQLite3::prepare(Mono.Data.Sqlite.SqliteConnection,System.String,Mono.Data.Sqlite.SqliteStatement,System.UInt32,System.String&).
    Error: method `System.Threading.Thread System.Threading.Thread::get_CurrentThread()` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteStatement Mono.Data.Sqlite.SQLite3::prepare(Mono.Data.Sqlite.SqliteConnection,System.String,Mono.Data.Sqlite.SqliteStatement,System.UInt32,System.String&).
    Error: type `System.Threading.Thread` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteStatement Mono.Data.Sqlite.SQLite3::prepare(Mono.Data.Sqlite.SqliteConnection,System.String,Mono.Data.Sqlite.SqliteStatement,System.UInt32,System.String&).
    Error: method `System.Boolean System.Threading.Thread::Join(System.Int32)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteStatement Mono.Data.Sqlite.SQLite3::prepare(Mono.Data.Sqlite.SqliteConnection,System.String,Mono.Data.Sqlite.SqliteStatement,System.UInt32,System.String&).
    Error: method `System.Int32 System.String::Compare(System.String,System.String,System.Boolean,System.Globalization.CultureInfo)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Int32 Mono.Data.Sqlite.SQLite3::ColumnIndex(Mono.Data.Sqlite.SqliteStatement,System.String).
    Error: type `System.DBNull` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Object Mono.Data.Sqlite.SQLite3::GetValue(Mono.Data.Sqlite.SqliteStatement,System.Int32,Mono.Data.Sqlite.SQLiteType).
    Error: type `System.DBNull` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Object Mono.Data.Sqlite.SQLite3::GetValue(Mono.Data.Sqlite.SqliteStatement,System.Int32,Mono.Data.Sqlite.SQLiteType).
    Error: field `System.DBNull System.DBNull::Value` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Object Mono.Data.Sqlite.SQLite3::GetValue(Mono.Data.Sqlite.SqliteStatement,System.Int32,Mono.Data.Sqlite.SQLiteType).
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommandBuilder.
    Error: type `System.ComponentModel.ToolboxItemAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.ToolboxItemAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.DesignerAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.DesignerAttribute::.ctor(System.String)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.EditorAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.EditorAttribute::.ctor(System.String,System.String)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.RefreshPropertiesAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.RefreshProperties` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.RefreshPropertiesAttribute::.ctor(System.ComponentModel.RefreshProperties)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.RefreshPropertiesAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.RefreshProperties` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.RefreshPropertiesAttribute::.ctor(System.ComponentModel.RefreshProperties)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.EditorAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.EditorAttribute::.ctor(System.String,System.String)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.DesignerSerializationVisibilityAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.DesignerSerializationVisibility` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.DesignerSerializationVisibilityAttribute::.ctor(System.ComponentModel.DesignerSerializationVisibility)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.DesignerSerializationVisibilityAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.DesignerSerializationVisibility` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.DesignerSerializationVisibilityAttribute::.ctor(System.ComponentModel.DesignerSerializationVisibility)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.DesignOnlyAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.DesignOnlyAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteCommand.
    Error: type `System.ComponentModel.Component` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Void Mono.Data.Sqlite.SqliteCommand::Dispose(System.Boolean).
    Error: method `System.Void System.ComponentModel.Component::Dispose(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Void Mono.Data.Sqlite.SqliteCommand::Dispose(System.Boolean).
    Error: type `System.ComponentModel.TypeDescriptor` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Void Mono.Data.Sqlite.SqliteCommand::set_DesignTimeVisible(System.Boolean).
    Error: method `System.Void System.ComponentModel.TypeDescriptor::Refresh(System.Object)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at System.Void Mono.Data.Sqlite.SqliteCommand::set_DesignTimeVisible(System.Boolean).
    Error: type `System.ComponentModel.EditorAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: method `System.Void System.ComponentModel.EditorAttribute::.ctor(System.String,System.String)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.RefreshPropertiesAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.RefreshProperties` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: method `System.Void System.ComponentModel.RefreshPropertiesAttribute::.ctor(System.ComponentModel.RefreshProperties)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.DesignerSerializationVisibilityAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.DesignerSerializationVisibility` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: method `System.Void System.ComponentModel.DesignerSerializationVisibilityAttribute::.ctor(System.ComponentModel.DesignerSerializationVisibility)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.DesignerSerializationVisibilityAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.DesignerSerializationVisibility` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: method `System.Void System.ComponentModel.DesignerSerializationVisibilityAttribute::.ctor(System.ComponentModel.DesignerSerializationVisibility)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.DesignerSerializationVisibilityAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.DesignerSerializationVisibility` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: method `System.Void System.ComponentModel.DesignerSerializationVisibilityAttribute::.ctor(System.ComponentModel.DesignerSerializationVisibility)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from Mono.Data.Sqlite.dll at Mono.Data.Sqlite.SqliteConnection.
    Error: type `System.ComponentModel.DesignerSerializatio<message truncated>