Skip to content

Commit fc94adc

Browse files
spbsolubleclaude
andcommitted
fix(dotnet): use dotnet msbuild instead of MSBuild.exe
Switches from the VS-bundled MSBuild.exe to dotnet msbuild, which uses the SDK's own MSBuild and supports .NET 10+ without the VS 2022 17.14 version restriction warning. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 57d038b commit fc94adc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dotnet-build-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
- name: Execute MSBuild Commands
113113
run: |
114114
$newVer = "${{ inputs.release_version || '1.0.0' }}".TrimStart('v').Split('-')[0]
115-
MSBuild.exe $Env:SOLUTION_PATH -p:RestorePackagesConfig=false -p:Configuration=Release -p:Version=$newVer -p:OutputPath="$Env:RELEASE_DIR"
115+
dotnet msbuild $Env:SOLUTION_PATH -p:RestorePackagesConfig=false -p:Configuration=Release -p:Version=$newVer -p:OutputPath="$Env:RELEASE_DIR"
116116
117117
- name: Read Target Frameworks
118118
id: read_target_frameworks

0 commit comments

Comments
 (0)