Skip to content

Commit 35c7e51

Browse files
committed
Fix compile error on B2SServerPluginInterface
1 parent 78a941c commit 35c7e51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/b2s-backglass.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ 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+
run: |
31+
$csproj = "B2SServerPluginInterface/B2SServerPluginInterface/B2SServerPluginInterface.csproj"
32+
(Get-Content $csproj) -replace '<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>', '<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>' | Set-Content $csproj
2833
- id: version
2934
name: Update AssemblyInformationalVersion
3035
run: |

0 commit comments

Comments
 (0)