Skip to content

Commit 73fa0b2

Browse files
committed
Fix compile error on B2SServerPluginInterface
1 parent 78a941c commit 73fa0b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/b2s-backglass.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
with:
2626
repository: DirectOutput/B2SServerPluginInterface
2727
path: B2SServerPluginInterface
28+
# Since the file is in the DirectOutput repository, we try to patch it here
29+
- name: Patch B2SServerPluginInterface.csproj to use .NET Framework 4.8
30+
shell: pwsh
31+
run: |
32+
$csproj = "B2SServerPluginInterface/B2SServerPluginInterface/B2SServerPluginInterface.csproj"
33+
(Get-Content $csproj) -replace '<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>', '<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>' | Set-Content $csproj
2834
- id: version
2935
name: Update AssemblyInformationalVersion
3036
run: |

0 commit comments

Comments
 (0)