-
Notifications
You must be signed in to change notification settings - Fork 20
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
Linux compatibility / Remove old .Net Frameworks #12
base: master
Are you sure you want to change the base?
Conversation
Added linux compatibility / Removed old .Netframeworks
@@ -1,7 +1,7 @@ | |||
<Project Sdk="Microsoft.NET.Sdk"> | |||
|
|||
<PropertyGroup> | |||
<TargetFrameworks>net451;net46;netcoreapp2.0</TargetFrameworks> | |||
<TargetFrameworks>netcoreapp2.0</TargetFrameworks> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we remove net46 this can not be used from Full framework < net471 without dependency on netstandard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well this can not work on linux if we keep the old .NetFramework
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean? It’s multi targeting. It will build for all the listed frameworks. The nuget package will contain both builds and your project will pick up the correct one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I'm pretty new to dotnet so I might say dumb things.
But this implementation is not working with old frameworks. I tried re-adding them and tests are failing on those. I'm guessing they are not able to run linux scripts properly.
If this is mandatory for you to keep old frameworks, I will just use a fork of your project. However, if people want to use a cross platform redis-inside, I don't think that keeping the compatibility is a necessity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m pretty confident it’s possible to make this work cross platform and keeping the net46 support. The packaging needs to be done on Windows and some tests but that’s why we have conditionals 🙂I don’t have time tonight but I can have a look tomorrow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks ! I only have linux systems availables so it's a bit hard for me to evaluate this on windows 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, Have you had the time to check the compatibility with old frameworks ?
No description provided.