Skip to content

Commit 02ef981

Browse files
Merge pull request #260224 from thomasgauvin/patch-24
Update SWA runtimes to include .NET 8
2 parents e47e62a + 820c049 commit 02ef981

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

includes/static-web-apps-languages-runtimes.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ To configure the API language runtime version, set the `apiRuntime` property in
1414
| .NET 6.0 in-process | Windows | 4.x | `dotnet:6.0` | - |
1515
| .NET 6.0 isolated | Windows | 4.x | `dotnet-isolated:6.0` | - |
1616
| .NET 7.0 isolated | Windows | 4.x | `dotnet-isolated:7.0` | - |
17+
| .NET 8.0 isolated | Windows | 4.x | `dotnet-isolated:8.0` | - |
1718
| Node.js 12.x | Linux | 3.x | `node:12` | December 3, 2022 |
1819
| Node.js 14.x | Linux | 4.x | `node:14` | - |
1920
| Node.js 16.x | Linux | 4.x | `node:16` | - |
@@ -26,12 +27,12 @@ To configure the API language runtime version, set the `apiRuntime` property in
2627

2728
To change the runtime version in a .NET app, change the `TargetFramework` value in the _csproj_ file. While optional, if you set a `apiRuntime` value in the _staticwebapp.config.json_ file, make sure the value matches what you define in the _csproj_ file.
2829

29-
The following example demonstrates how to update the `TargetFramework` element for NET 6.0 as the API language runtime version in the _csproj_ file.
30+
The following example demonstrates how to update the `TargetFramework` element for NET 8.0 as the API language runtime version in the _csproj_ file.
3031

3132
```xml
3233
<Project Sdk="Microsoft.NET.Sdk">
3334
<PropertyGroup>
34-
<TargetFramework>net6.0</TargetFramework>
35+
<TargetFramework>net8.0</TargetFramework>
3536
...
3637
</PropertyGroup>
3738
...

0 commit comments

Comments
 (0)