Comments (12)
Hey @Xwilarg, thank you for your issue!
The project is already targeting netstandard2.0
, so it's compatible with .NET 5. We're also using it in lots of .NET 5 projects, so everything should work😀
Is there something that's not working for you?
from dangl.calculator.
Thanks for your quick reply, I was more asking that because of the huge amount of dependencies but at the end I'm not that sure it's related (in some projects I have the issues, in some others I don't)
from dangl.calculator.
I see, that looks like a lot of dependencies😀 Can you check which target your app resolves for Dangl.Calculator
, is it using the netstandard2.0
or the netstandard1.1
one?
from dangl.calculator.
Um.. May I ask you how I can do that?
from dangl.calculator.
Good question, I don’t know😀
It seems to import the NET Standard Library 1.6, which seems a bit strange. I think that one has all the other dependncies. You are just targeting ’net5.0’ in your app, right?
Maybe that dependency comes from the Antlr4.Runtime package.
from dangl.calculator.
I tried with 2 projects that both target .NET 5 but only have of them have this issue so I'm not sure what I'm doing wrong
from dangl.calculator.
Can you share the project?
from dangl.calculator.
Sure it's this one: https://github.com/Xwilarg/Camellia/
from dangl.calculator.
Looks like the calculator isn't referenced there yet😀 But otherwise the project looks fine, nothing wrong as far as I can see that would cause this issue.
from dangl.calculator.
Yup I opened the issue before referencing it but if you try to add the NuGet package you'll have the issue I'm speaking about
from dangl.calculator.
Ah, that was easy to resolve then😀
The many dependencies come in transitively from the Antlr4.Runtime
package. If you just install this one (without Dangl.Calculator
), you see the same behavior:
The issue seems to come from how Antlr4.Runtime
has configured it's dependencies:
As you can see, the only dependency compatible to net5.0
is netstandard1.1
, which itself required the NETStandard.Library
, thus including all the dependencies.
I don't think this is not going to cause any issues, since as far as I remember, the .NET Standard Library dependency is handled somehow different by .NET Core, it was something introduced for compatibility reasons or such.
from dangl.calculator.
Okay I'll do that then
I'm also closing this issue since the issue is solved, thanks a lot for your time
from dangl.calculator.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dangl.calculator.