Code Monkey home page Code Monkey logo

Comments (13)

hhblaze avatar hhblaze commented on August 27, 2024

Let's investigate...
App1.zip

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)

from dbreeze.

hhblaze avatar hhblaze commented on August 27, 2024

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)

from dbreeze.

hhblaze avatar hhblaze commented on August 27, 2024

I have VS2015 Professional Update 3, extra was installed
NET Core 1.0 for Visual Studio (https://go.microsoft.com/fwlink/?LinkId=817245)
recommended here https://www.microsoft.com/net/core#windows

from dbreeze.

hhblaze avatar hhblaze commented on August 27, 2024

Previous nuget package contained folder netcore451 and now I have replaced it with netcoreapp1.0 (all was recommended)
Here, grab enhanced package (restored folder netcore451 in there), test it and, please, let me know
DBreeze.1.75.1.zip

Thanx!

from dbreeze.

HakanL avatar HakanL commented on August 27, 2024

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.

from dbreeze.

HakanL avatar HakanL commented on August 27, 2024

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).

from dbreeze.

HakanL avatar HakanL commented on August 27, 2024

The 1.75.1 works too, but I think using .netstandard is the more universal solution (but I may be wrong).

from dbreeze.

hhblaze avatar hhblaze commented on August 27, 2024

TOP idea, confirm that this nuget package works for you and I will publish it:

DBreeze.1.75.2.zip

from dbreeze.

hhblaze avatar hhblaze commented on August 27, 2024

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
Error Could not install package 'DBreeze 1.75.1'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0

from dbreeze.

HakanL avatar HakanL commented on August 27, 2024

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.

from dbreeze.

hhblaze avatar hhblaze commented on August 27, 2024

DBreeze is not a ".NET Portable" library, so portable profiles don't fit for now.

from dbreeze.

HakanL avatar HakanL commented on August 27, 2024

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.

from dbreeze.

hhblaze avatar hhblaze commented on August 27, 2024

I will take a closer look.

from dbreeze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.