Skip to content

Commit ec4c825

Browse files
committed
Updated for .NET 9.
1 parent df3a7cf commit ec4c825

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
- name: Setup .NET
1010
uses: actions/setup-dotnet@v4
1111
with:
12-
dotnet-version: 8.0.x
12+
dotnet-version: |
13+
8.0.x
14+
9.0.x
1315
- name: Restore Dependencies
1416
run: dotnet restore
1517
# Debug and Release might be different due to conditional compilation, so validate both.

WebAssembly.Tests/WebAssembly.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<LangVersion>12.0</LangVersion>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<LangVersion>13.0</LangVersion>
66
<RootNamespace>WebAssembly</RootNamespace>
77
<Nullable>enable</Nullable>
88
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>

WebAssembly/WebAssembly.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<!-- I'd prefer to set a much older .NET Core as the baseline but it's not currently worth the inconvenience. -->
5-
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
4+
<!-- .NET Standard 2.0 is very old but (so far) can still be built by the newest .NET SDK, so it makes a great baseline. -->
5+
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
66
<Title>WebAssembly for .NET</Title>
77
<AssemblyTitle>WebAssembly for .NET</AssemblyTitle>
88
<Authors>Ryan Lamansky</Authors>
@@ -13,7 +13,7 @@
1313
<PackageProjectUrl>https://github.com/RyanLamansky/dotnet-webassembly</PackageProjectUrl>
1414
<Copyright>Copyright © Ryan Lamansky. All rights reserved.</Copyright>
1515
<PackageTags>WebAssembly WASM JIT</PackageTags>
16-
<LangVersion>12.0</LangVersion>
16+
<LangVersion>13.0</LangVersion>
1717
<Nullable>enable</Nullable>
1818
<RepositoryUrl>https://github.com/RyanLamansky/dotnet-webassembly</RepositoryUrl>
1919
<RepositoryType>git</RepositoryType>

0 commit comments

Comments
 (0)