-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DBreeze 1.75 doesn't work in UWP #11
Comments
Let's investigate... Here I have created UWP APP and compiled it with NuGet DBreeze for ARM, x86 and x64 (bin and i´bj were deleted, cause of 10MB restriction of github upload) |
may be you can test reference just to DBreeze binaries from your UWP project. Grab binaries from here https://github.com/hhblaze/DBreeze/tree/master/Deployment/bin (there UWP project) |
I have VS2015 Professional Update 3, extra was installed |
Previous nuget package contained folder netcore451 and now I have replaced it with netcoreapp1.0 (all was recommended) Thanx! |
Referencing the DLL directly worked fine. From what I can tell I think you should target .netstandard (as low version as possible) instead of netcoreapp1.0, to have support in both CoreCLR and full .NET Framework. I know I can reference .netstandard packages in my UWP application. |
The App1 above doesn't work for me (it fails on restoring packages, same error as above, but since there are no references to DBreeze in the code it builds, but if you try to use DBreeze then it won't build either). |
The 1.75.1 works too, but I think using .netstandard is the more universal solution (but I may be wrong). |
TOP idea, confirm that this nuget package works for you and I will publish it: |
I think there is a problem with netstandard, because then DBreeze can be referenced by Portable library...that's not correct. So, I think, I will publish version 1.75.1 With trying to reference v1.75.1 from portable library I got correct exception: Severity Code Description Project File Line Suppression State |
ok, for your reference 1.75.2 worked in UWP. Which .netstandard did you use in 1.75.2, according to this: http://blog.stephencleary.com/2012/05/framework-profiles-in-net.html the Portable profile 111 supports .NET standard 1.1, so if you pick 1.2 then you should be fine. Probably cleaner long-term to use netstandard. |
DBreeze is not a ".NET Portable" library, so portable profiles don't fit for now. |
Right, but the .NET Standard isn't meant to be related to portable (afaik), it's meant to specify what base .NET support a library needs, but not tied to a particular platform (like UWP, .NET Core, etc). So I think using .NET Standard is the best way for libraries like DBreeze, provides the most flexibility. |
I will take a closer look. |
I have Visual Studio 2015 U3. If I create a blank Universal Windows Application and add DBreeze (v 1.75) then I'm getting errors restoring the packages:
Restoring packages for 'App6'.
Restoring packages for c:\users\user\documents\visual studio 2015\Projects\App6\App6\project.json...
Package DBreeze 1.75.0 is not compatible with uap10.0 (UAP,Version=v10.0). Package DBreeze 1.75.0 supports:
One or more packages are incompatible with UAP,Version=v10.0.
Package DBreeze 1.75.0 is not compatible with uap10.0 (UAP,Version=v10.0) / win10-arm. Package DBreeze 1.75.0 supports:
One or more packages are incompatible with UAP,Version=v10.0 (win10-arm).
Package DBreeze 1.75.0 is not compatible with uap10.0 (UAP,Version=v10.0) / win10-arm-aot. Package DBreeze 1.75.0 supports:
One or more packages are incompatible with UAP,Version=v10.0 (win10-arm-aot).
Package DBreeze 1.75.0 is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x64. Package DBreeze 1.75.0 supports:
One or more packages are incompatible with UAP,Version=v10.0 (win10-x64).
Package DBreeze 1.75.0 is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x64-aot. Package DBreeze 1.75.0 supports:
One or more packages are incompatible with UAP,Version=v10.0 (win10-x64-aot).
Package DBreeze 1.75.0 is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x86. Package DBreeze 1.75.0 supports:
One or more packages are incompatible with UAP,Version=v10.0 (win10-x86).
Package DBreeze 1.75.0 is not compatible with uap10.0 (UAP,Version=v10.0) / win10-x86-aot. Package DBreeze 1.75.0 supports:
One or more packages are incompatible with UAP,Version=v10.0 (win10-x86-aot).
Package restore failed for 'App6'.
Package restore failed. Rolling back package changes for 'App6'.
========== Finished ==========
Time Elapsed: 00:00:00.8687082
The text was updated successfully, but these errors were encountered: