Giter Club home page Giter Club logo

Comments (8)

abatishchev avatar abatishchev commented on May 18, 2024

All 1.x packages​ on nuget target 3.5, only 2.x target 4.6. However meanwhile I'll revisit this and check what we gain by upgrading, whether it's necessary/useful, can we downgrade back.
P.S.
What is your scenario? Why do you need 3.5? Will 4.0 work?

from jwt.

Arkatufus avatar Arkatufus commented on May 18, 2024

Well, I'm trying to make an OpenID Connect plugin Unity3D, and Unity3D only supports 3.5.
I'll try the 1.x nuget packages, thanks.

from jwt.

abatishchev avatar abatishchev commented on May 18, 2024

Since​ you're not using Jwt.Net from within Unity itself, rather with Unity, you still should be able to use the 2.x. Can't you? The apps that use your lib should target 4.6 as well but is it an issue? If yes, can you please explain further?

from jwt.

Arkatufus avatar Arkatufus commented on May 18, 2024

What I ment by Unity3D was Unity3D the game engine, not the .Net DI container.

from jwt.

abatishchev avatar abatishchev commented on May 18, 2024

Yes, sure, I understand :) You can reference a lib targeted 3.5 and a lib targeted 4.6 in the same time if target 4.6 yourself. Right?

from jwt.

Arkatufus avatar Arkatufus commented on May 18, 2024

Unity only supports mono .net 3.5, I can't target anything above that version. The unity engine actually comes with a modified fork of the mono compiler and compiles the C# source code when you build the game.
I don't think I can use a 4.6 lib with Unity at all, I was taught that to make a lib for Unity, you have to target for 3.5 or it wouldn't work.

from jwt.

abatishchev avatar abatishchev commented on May 18, 2024

See #71

from jwt.

Arkatufus avatar Arkatufus commented on May 18, 2024

Works perfectly, thank you :)

from jwt.

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.