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

Linux compatibility / Remove old .Net Frameworks #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vmaleze
Copy link

@vmaleze vmaleze commented Feb 5, 2019

No description provided.

Vivien Maleze and others added 2 commits February 5, 2019 17:04
@vmaleze vmaleze mentioned this pull request Feb 5, 2019
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net451;net46;netcoreapp2.0</TargetFrameworks>
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
Copy link
Contributor

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

Copy link
Author

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

Copy link
Contributor

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

Copy link
Author

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.

Copy link
Contributor

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

Copy link
Author

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 😄

Copy link
Author

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 ?

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

Successfully merging this pull request may close these issues.

2 participants