-
Notifications
You must be signed in to change notification settings - Fork 14
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
Removed support for .Net Framework 4.6 #25
base: master
Are you sure you want to change the base?
Changes from 4 commits
4269970
cdc20f7
05dfa0f
70e8f76
7433418
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks> | ||
<Version>2.1.1</Version> | ||
<TargetFrameworks>netstandard2.0</TargetFrameworks> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would it make sense to target .NET 6 here as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I kept the settings to netstandard, so people who are still using classic .net framework are still able to use this library. |
||
<Version>2.2.0</Version> | ||
<Copyright>Copyright (c) 2009 Sébastien Lorion</Copyright> | ||
<Authors>Sébastien Lorion</Authors> | ||
<Company /> | ||
<Description>Toolbox for .NET projects</Description> | ||
<PackageProjectUrl>https://github.com/slorion/nlight</PackageProjectUrl> | ||
<PackageTags>io,parser,csv,delimited,transaction,reactive,tree</PackageTags> | ||
<PackageReleaseNotes>Added multi-targeting support for .NET 4.6</PackageReleaseNotes> | ||
<PackageReleaseNotes>Increased compatibility to newer .net versions. Minimum supported .NET Version is 4.7.2 (.NET Standard 2.0)</PackageReleaseNotes> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you change to "Increased compatibility with newer .NET versions. Updated Reactive dependency to 5.0. NLight targets .NET Standard 2.0 (.NET Framework 4.6.1+, .NET Core 2.0+)." See https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0#net-5-and-net-standard for compatibility matrix. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, done. |
||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>C:\projects\oss\nlight\src\NLight.snk</AssemblyOriginatorKeyFile> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<RepositoryUrl></RepositoryUrl> | ||
<FileVersion>2.1.1.0</FileVersion> | ||
<AssemblyVersion>2.1.1.0</AssemblyVersion> | ||
<FileVersion>2.2.0.0</FileVersion> | ||
<AssemblyVersion>2.2.0.0</AssemblyVersion> | ||
<PackageLicenseUrl>https://github.com/slorion/nlight/blob/master/LICENSE</PackageLicenseUrl> | ||
</PropertyGroup> | ||
|
||
|
@@ -37,8 +37,7 @@ | |
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="System.Reactive" Version="3.1.1" /> | ||
<PackageReference Include="System.Reactive.Core" Version="3.1.1" /> | ||
<PackageReference Include="System.Reactive.Core" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
|
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.
Isn't there a more elegant (and faster) way to read values from the record?
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 not used to the CsvHelper library. I just tried to make the code working. Should I downgrade the CsvHelper nuget package to the old version, so that the original code is working again?
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.
Looking at CsvHelper Reader class source, I think new code should be (did not test it)
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.
Yes, it´s working with this code.