Skip to content

Commit

Permalink
Updated for .NET 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLamansky committed Nov 16, 2024
1 parent df3a7cf commit ec4c825
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: |
8.0.x
9.0.x
- name: Restore Dependencies
run: dotnet restore
# Debug and Release might be different due to conditional compilation, so validate both.
Expand Down
4 changes: 2 additions & 2 deletions WebAssembly.Tests/WebAssembly.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>12.0</LangVersion>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<LangVersion>13.0</LangVersion>
<RootNamespace>WebAssembly</RootNamespace>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
Expand Down
6 changes: 3 additions & 3 deletions WebAssembly/WebAssembly.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<!-- I'd prefer to set a much older .NET Core as the baseline but it's not currently worth the inconvenience. -->
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
<!-- .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. -->
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<Title>WebAssembly for .NET</Title>
<AssemblyTitle>WebAssembly for .NET</AssemblyTitle>
<Authors>Ryan Lamansky</Authors>
Expand All @@ -13,7 +13,7 @@
<PackageProjectUrl>https://github.com/RyanLamansky/dotnet-webassembly</PackageProjectUrl>
<Copyright>Copyright © Ryan Lamansky. All rights reserved.</Copyright>
<PackageTags>WebAssembly WASM JIT</PackageTags>
<LangVersion>12.0</LangVersion>
<LangVersion>13.0</LangVersion>
<Nullable>enable</Nullable>
<RepositoryUrl>https://github.com/RyanLamansky/dotnet-webassembly</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down

0 comments on commit ec4c825

Please sign in to comment.