PSReadLine projects targets .NET 6 which is out of support

Open
#4,776 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
build-system

Research direction

Start by inspecting the TargetFrameworks entries in test/PSReadLine.Tests.csproj, Polyfill/Polyfill.csproj, and MockPSConsole/MockPSConsole.csproj. Check the existing buildscript and readme for .NET 6 references, then run the repository's current build and tests. Done means the projects target net472;net8.0 and any resulting package or compatibility issues are resolved.

Written by the indexing model from the issue text.

Description

Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

The TargetFrameworks is <TargetFrameworks>net472;net6.0</TargetFrameworks>
https://github.com/PowerShell/PSReadLine/blob/master/test/PSReadLine.Tests.csproj
https://github.com/PowerShell/PSReadLine/blob/master/Polyfill/Polyfill.csproj
https://github.com/PowerShell/PSReadLine/blob/master/MockPSConsole/MockPSConsole.csproj

Should be updated to net8.0 instead

Proposed technical implementation details (optional)

Change TFM and fix any issues caused by that
<TargetFrameworks>net472;net8.0</TargetFrameworks>
Might make sense (or be required) to update some packages at the same time.
Update buildscript/readme

Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.