Visitar URL original
chore: upgrade BMM.Website to .NET 10 · bcc-code/BMM-Website@6b1342f · GitHub
Skip to content

Commit 6b1342f

Browse files
KillerXclaude
andcommitted
chore: upgrade BMM.Website to .NET 10
The App Service runtime was switched to .NET 10, but the app still targeted net6.0, so the container exited with code 150 (framework not found). Retarget to net10.0 and pin the .NET 10 SDK in the build pipeline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 505a8d3 commit 6b1342f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/pipeline.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
- build_javascript
8383
steps:
8484
- uses: actions/checkout@v3
85+
- uses: actions/setup-dotnet@v4
86+
with:
87+
dotnet-version: '10.0.x'
8588
- uses: actions/download-artifact@v4
8689

8790
- name: dotnet build Release

‎BMM.Website/BMM.Website.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>

0 commit comments

Comments
 (0)