Giter Club home page Giter Club logo

Comments (5)

philipdaubmeier avatar philipdaubmeier commented on September 25, 2024

Hmm, I thought if I change the target to netstandard2.1 it will still support netcore3.1 and also others (like Mono and Xamarin). Perhaps I have to add it explicitly in the nuspec?

I'll have a closer look at that

from graphiot.

philipdaubmeier avatar philipdaubmeier commented on September 25, 2024

Ok, that was more complicated than I thought it would be. I could immediatelly reproduce it when creating a netcore3.1 console app, while working fine when referenced from netcore3.1 projects in the GraphIoT solution - meaning it has something to do with the compiled and packaged assembly in the nuget package.

I then figured I extend the project to multi target both netstandard2.1 and netcore3.1. This in turn does no longer work together with nuget pack then, but requires dotnet pack or msbuild -t:pack, both of which ignored my nuspec file. I could fix this also by referencing the nuspec in the project file - which then broke the variables in the nuspec file 😑. I found a github thread and working example of a prepoluation build step - et voilà!

Should be fixed with 78625e8 now.

I just published a new version 1.6.1 that should work again. Thanks for reporting!

from graphiot.

Abrissirba avatar Abrissirba commented on September 25, 2024

That sounds very familiar to what I had to do at work a while ago. Remeber the frustration with nuget pack vs dotnet pack... What github thread did you find?

from graphiot.

philipdaubmeier avatar philipdaubmeier commented on September 25, 2024

This one here: dotnetsdk/#5525

from graphiot.

Abrissirba avatar Abrissirba commented on September 25, 2024

Thanks and thanks for fixing it so quick!

from graphiot.

Related Issues (11)

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.