microsoft / microsoft/react-native-windows

Upgrade projects from .NET 6 to .NET 8

Open
#14,368 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

.NET Area: Dependencies enhancement help wanted Scenario: C# Workstream: ES Compliance SFI
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Summary

We are still using .NET 6 for our codegen projects and requiring it in our dependency script. We should change that to .NET 8.

Motivation

.NET 6 is no longer supported. and will be a security/compliance issue.

Basic Example

No response

Open Questions

If we update the dependency script to only require .NET 8, then we need to make sure users setting up new projects for RNW versions that used .NET 6 will still work. We'd need to test on clean machines without .NET 6 to see that the Codegen targeting .NET 6 still works if only .NET 8 is installed.

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.

Research direction

Start by locating the dependency script and the codegen projects that currently require or target .NET 6. Test new-project setup on a clean machine with only .NET 8 installed, including projects for RNW versions that used .NET 6. Done means current codegen uses .NET 8 while those older project versions still work under the stated installation conditions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.