robertohuertasm / SQLite4Unity3d

SQLite made easy for Unity3d
MIT License
1.28k stars 265 forks source link

UWP build error in sqlite.cs file #77

Open sabasoft opened 6 years ago

sabasoft commented 6 years ago

I am getting some issues while running the example project on unity5.3.4f1 targeting universal windows 10 build. Assets\Scripts\SQLite.cs(1584,47): error CS0731: The type forwarder for type 'Windows.Storage.ApplicationData' in assembly 'Windows' causes a cycle Assets\Scripts\SQLite.cs(1584,47): error CS1069: The type name 'ApplicationData' could not be found in the namespace 'Windows.Storage'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. Assets\Scripts\SQLite.cs(225,51): error CS0731: The type forwarder for type 'Windows.Storage.ApplicationData' in assembly 'Windows' causes a cycle Assets\Scripts\SQLite.cs(225,51): error CS1069: The type name 'ApplicationData' could not be found in the namespace 'Windows.Storage'. This type has been forwarded to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime' Consider adding a reference to that assembly. 1 I have successfully created builds targeting WP 8.1 and targeting UWP 8.1 platforms but getting error when doing this for UWP 10.Any Help would be really appreciated. Thanks

jwittner commented 6 years ago

@robertohuertasm What version of Unity are you using for this? The repo doesn't contain this information. unless I missed it.