Skip to content

Commit

Permalink
Upgrade to .NET 9.0 preview 3
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Apr 19, 2024
1 parent 23b549b commit 0cdd905
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
dotnet-version: "9.0.x"
dotnet-quality: "preview"
- name: Install .NET WebAssembly Tools
run: dotnet workload install wasm-tools

Expand All @@ -26,7 +27,7 @@ jobs:

# Deploy the site
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public/wwwroot
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<IsPackable>false</IsPackable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ChainingAssertion-xUnit.Bin" Version="1.8.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="ChainingAssertion-xUnit.Bin" Version="1.8.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageReference Include="Toolbelt.AnsiEscCode.Colorize" Version="1.0.0" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
18 changes: 9 additions & 9 deletions CUIFlavoredPortfolioSite/CUIFlavoredPortfolioSite.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>1.2.0.3</Version>
<TargetFramework>net9.0</TargetFramework>
<Version>1.2.0.4</Version>
<Authors>J.Sakamoto</Authors>
<Product>CUI Flavored Portfolio Site - Powered by Blazor WebAssembly</Product>
<Copyright>Copyright (C) J.Sakamoto</Copyright>
Expand All @@ -24,20 +24,20 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0-preview.3.24172.13" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0-preview.3.24172.13" PrivateAssets="all" />
<PackageReference Include="System.Net.Http.Json" Version="9.0.0-preview.3.24172.9" />
<PackageReference Include="Figgle" Version="0.5.1" />
<PackageReference Include="CommandLineSwitchParser" Version="1.1.0" />
<PackageReference Include="BlazorWasmPreRendering.Build" Version="3.1.0-preview.4" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.1.0" />
<PackageReference Include="BlazorWasmPreRendering.Build" Version="5.0.0-preview.1" />
<PackageReference Include="PublishSPAforGitHubPages.Build" Version="2.2.0" />
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="4.8.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Toolbelt.AnsiEscCode.Colorize" Version="1.0.0" />
<PackageReference Include="Toolbelt.Blazor.HotKeys2" Version="3.1.0" />
<PackageReference Include="Toolbelt.Blazor.HotKeys2" Version="4.1.0" />
<PackageReference Include="Toolbelt.Blazor.PWA.Updater" Version="2.1.0.1" />
<PackageReference Include="Toolbelt.Web.CssClassInlineBuilder" Version="2.0.0" />
<PackageReference Include="Toolbelt.Web.CssClassInlineBuilder" Version="3.1.0.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion CUIFlavoredPortfolioSite/_Imports.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@using Microsoft.JSInterop
@using Toolbelt.Blazor.HotKeys2
@using Toolbelt.Blazor.PWA.Updater
@using static Toolbelt.Web.CssClassInlineBuilder
@using static Toolbelt.Web.CssClassInlineBuilder.V2

@using CUIFlavoredPortfolioSite
@using CUIFlavoredPortfolioSite.Components
Expand Down
7 changes: 7 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "9.0.0",
"rollForward": "latestMinor",
"allowPrerelease": true
}
}

0 comments on commit 0cdd905

Please sign in to comment.