microsoft / microsoft/react-native-windows

TestWebSite should use the same (LTS) version of .NET as other projects and already available on the ADO images

Open
#12,911 2 comments 0 reactions 1 assignee View on GitHub

@JunielKatarn is already working on this.

Since Apr 3, 2024.

Area: Build Infrastructure Area: Test Infrastructure Area: Tests bug Workstream: Test Coverage
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Problem Description

TestWebSite requires the .NET 7.0 SDK and installs it as part of running in CI. RNW images and our dependency script both require .NET 6.0 only.

Option 1 (Preferable):

  1. Retarget TestWebSite to .NET 6.0 LTS which is already available
  2. Remove the .NET install during CI.

Option 2:

  1. Retarget TestWebSite to .NET 8.0 LTS
  2. Retarget ManagedCodeGen to .NET 8.0 LTS
  3. Update the ADO image to include .NET 8.0 instead of .NET 6.0
  4. Update the dependency script to require .NET 8.0
  5. Remove the .NET install during CI.
Steps To Reproduce

See CI.

Expected Results

No response

CLI version

npx react-native -v

Environment
npx react-native info
Target Platform Version

None

Target Device(s)

No response

Visual Studio Version

None

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.