Skip to content

Commit 24962ee

Browse files
committed
Revert "upgrade to .NET 10.0"
This reverts commit e6da89b. Debugging compile error only when deployed to GitHub Pages
1 parent 20114d4 commit 24962ee

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ jobs:
1212
# Checkout the code
1313
- uses: actions/checkout@v2
1414

15-
# Install .NET 10 SDK
16-
- name: Setup .NET 10
15+
# Install .NET Core SDK
16+
- name: Setup .NET Core
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 10.0.100
19+
dotnet-version: 8.0.200
2020

2121
# Publish the site
2222
- name: Publish
23+
# Don't missing to add "p:GHPages=true". 👇
2324
run: dotnet publish Ellabit/Ellabit.csproj -p:GHPages=true -o:public -c:Release
2425

2526
- name: Change base-tag in index.html from / to Ellabit
@@ -34,4 +35,5 @@ jobs:
3435
with:
3536
github_token: ${{ secrets.GITHUB_TOKEN }}
3637
publish_dir: public/wwwroot
37-
force_orphan: true
38+
force_orphan: true
39+

Ellabit.sln

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 18
4-
VisualStudioVersion = 18.1.11312.151 d18.0
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 25.0.1700.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ellabit", "Ellabit\Ellabit.csproj", "{FC51627F-D275-4440-9220-7E12D0DF243A}"
77
EndProject
8-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{500C5B39-5A74-4406-90AC-0B4F5E1578DC}"
9-
ProjectSection(SolutionItems) = preProject
10-
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
11-
EndProjectSection
12-
EndProject
138
Global
149
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1510
Debug|Any CPU = Debug|Any CPU

Ellabit/Ellabit.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
@@ -14,10 +14,10 @@
1414

1515
<PackageReference Include="IronBlock" Version="1.0.18" />
1616

17-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.1" />
18-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.1" PrivateAssets="all" />
17+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.6" />
18+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.6" PrivateAssets="all" />
1919
<PackageReference Include="MudBlazor" Version="6.0.20" />
20-
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
20+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
2121
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.9.0" />
2222
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="3.9.0" />
2323
<PackageReference Include="BlazorMonaco" Version="2.1.0" />

0 commit comments

Comments
 (0)