Skip to content

Commit 8865cde

Browse files
CrypticGuyclaude
andcommitted
fix(ci): build project directly with RID instead of solution-level
Building a solution with -r is not supported (NETSDK1134). Build the individual project with -r win-x64 instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cb7a658 commit 8865cde

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
dotnet-version: ${{ env.DOTNET_VERSION }}
2424

2525
- name: Restore dependencies
26-
run: dotnet restore ${{ github.workspace }}/CrossHairPlus.sln
26+
run: dotnet restore ${{ github.workspace }}/CrossHairPlus/CrossHairPlus.csproj -r win-x64
2727

2828
- name: Build
29-
run: dotnet build ${{ github.workspace }}/CrossHairPlus.sln -c Release --no-restore
29+
run: dotnet build ${{ github.workspace }}/CrossHairPlus/CrossHairPlus.csproj -c Release -r win-x64 --no-restore
3030

3131
- name: Upload artifacts
3232
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)