Skip to content

Commit 853633a

Browse files
[0.80-stable] Upgrade dotnet (#15152)
* upgrade dotnet * Change files * Enable logging * fix error * updated images to rnw-img-test * Add DotNetCoreVersion 8.0.413 to JSON config * use node18 img * Remove verbosity --------- Co-authored-by: Jon Thysell <thysell@gmail.com>
1 parent 3a09431 commit 853633a

File tree

12 files changed

+33
-27
lines changed

12 files changed

+33
-27
lines changed

.ado/image/rnw-img-vs2022-node18.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
"parameters": {
6262
"DotNetCoreVersion": "6.0.403"
6363
}
64-
}
64+
},
65+
{
66+
"name": "windows-dotnetcore-sdk",
67+
"parameters": {
68+
"DotNetCoreVersion": "8.0.413"
69+
}
70+
},
6571
]
6672
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "upgrade dotnet",
4+
"packageName": "@react-native-windows/cli",
5+
"email": "10109130+sharath2727@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "upgrade dotnet",
4+
"packageName": "react-native-windows",
5+
"email": "10109130+sharath2727@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/@react-native-windows/cli/src/commands/healthCheck/healthCheckList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export const HealthCheckList = [
1414
[true, 'VSUWP', 'Visual Studio 2022 (>= 17.11.0) & req. components'],
1515
[true, 'Node', 'Node.js (LTS, >= 18.18)'],
1616
[true, 'Yarn', 'Yarn'],
17-
[true, 'DotNetCore', '.NET SDK (LTS, = 6.0)'],
17+
[true, 'DotNetCore', '.NET SDK (LTS, = 8.0)'],
1818
];

vnext/Microsoft.ReactNative.Managed.CodeGen.UnitTests/Microsoft.ReactNative.Managed.CodeGen.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<PlatformTarget>x64</PlatformTarget>
66
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
77
<IsPackable>false</IsPackable>

vnext/Microsoft.ReactNative.Managed.CodeGen.UnitTests/packages.lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"dependencies": {
4-
"net6.0": {
4+
"net8.0": {
55
"coverlet.collector": {
66
"type": "Direct",
77
"requested": "[3.1.2, )",
@@ -1610,7 +1610,7 @@
16101610
}
16111611
}
16121612
},
1613-
"net6.0/win-x64": {
1613+
"net8.0/win-x64": {
16141614
"Microsoft.Win32.Primitives": {
16151615
"type": "Transitive",
16161616
"resolved": "4.3.0",

vnext/Microsoft.ReactNative.Managed.CodeGen/Microsoft.ReactNative.Managed.CodeGen.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55

6-
<TargetFramework>net6.0</TargetFramework>
6+
<TargetFramework>net8.0</TargetFramework>
77
<Platforms>x64;x86;ARM64</Platforms>
88
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
99

vnext/Microsoft.ReactNative.Managed.CodeGen/Properties/PublishProfiles/DeployAsTool-Debug.pubxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<PublishProtocol>FileSystem</PublishProtocol>
77
<Configuration>Debug</Configuration>
88
<Platform>x64</Platform>
9-
<TargetFramework>net6.0</TargetFramework>
9+
<TargetFramework>net8.0</TargetFramework>
1010
<PublishDir>$(OutDir)publish</PublishDir>
1111
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1212
<SelfContained>true</SelfContained>

vnext/Microsoft.ReactNative.Managed.CodeGen/Properties/PublishProfiles/DeployAsTool-Release.pubxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<PublishProtocol>FileSystem</PublishProtocol>
77
<Configuration>Release</Configuration>
88
<Platform>x64</Platform>
9-
<TargetFramework>net6.0</TargetFramework>
9+
<TargetFramework>net8.0</TargetFramework>
1010
<PublishDir>$(OutDir)publish</PublishDir>
1111
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1212
<SelfContained>true</SelfContained>

vnext/Microsoft.ReactNative.Managed.CodeGen/packages.lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"dependencies": {
4-
"net6.0": {
4+
"net8.0": {
55
"Humanizer": {
66
"type": "Direct",
77
"requested": "[2.14.1, )",
@@ -1507,7 +1507,7 @@
15071507
}
15081508
}
15091509
},
1510-
"net6.0/win-x64": {
1510+
"net8.0/win-x64": {
15111511
"Microsoft.Win32.Primitives": {
15121512
"type": "Transitive",
15131513
"resolved": "4.3.0",
@@ -2350,7 +2350,7 @@
23502350
}
23512351
}
23522352
},
2353-
"net6.0/win-x86": {
2353+
"net8.0/win-x86": {
23542354
"Microsoft.Win32.Primitives": {
23552355
"type": "Transitive",
23562356
"resolved": "4.3.0",

0 commit comments

Comments
 (0)