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

Update net461 TFM to net462 #1275

Merged
merged 3 commits into from
Jan 1, 2023
Merged

Update net461 TFM to net462 #1275

merged 3 commits into from
Jan 1, 2023

Conversation

bgrainger
Copy link
Member

Fixes #636.

.NET Framework 4.6.1 support ended on 26 April 2022.

Signed-off-by: Bradley Grainger <[email protected]>
Dropping netcoreapp3.1 and net461 allows us to use the latest version.

Signed-off-by: Bradley Grainger <[email protected]>
Dropping net461 allows the latest version to be used.

Signed-off-by: Bradley Grainger <[email protected]>
@bgrainger bgrainger added this to the 2.3 milestone Jan 1, 2023
@bgrainger bgrainger merged commit 9ae6f27 into master Jan 1, 2023
@bgrainger bgrainger deleted the remove-net461 branch January 1, 2023 21:00
<PackageReference Include="IndexRange" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="System.Buffers" Version="4.5.1" />
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net461' OR '$(TargetFramework)' == 'net471' OR '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1' ">
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.0" />
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' OR '$(TargetFramework)' == 'net471' OR '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1' ">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: it looks like you only want to bring this in for non .NETCoreApp. You can achieve that via the following condition:

'$(TargetFrameworkIdentifier)' != '.NETCoreApp'. That avoids the hardcoded tfms.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

2733cd2

bgrainger added a commit that referenced this pull request Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Drop support for net461?
2 participants