Skip to content
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

.Net 3.5 support? #70

Closed
Arkatufus opened this issue Mar 23, 2017 · 8 comments
Closed

.Net 3.5 support? #70

Arkatufus opened this issue Mar 23, 2017 · 8 comments

Comments

@Arkatufus
Copy link

Is there a way to download old versions that supports .net 3.5?

@abatishchev
Copy link
Member

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?

@Arkatufus
Copy link
Author

Arkatufus commented Mar 23, 2017

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.

@abatishchev
Copy link
Member

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?

@Arkatufus
Copy link
Author

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

@abatishchev
Copy link
Member

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?

@Arkatufus
Copy link
Author

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.

@abatishchev
Copy link
Member

See #71

@Arkatufus
Copy link
Author

Works perfectly, thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants