Skip to content

fix xharness is failing to install#1559

Merged
missymessa merged 1 commit intomainfrom
missymessa-1558
Mar 12, 2026
Merged

fix xharness is failing to install#1559
missymessa merged 1 commit intomainfrom
missymessa-1558

Conversation

@missymessa
Copy link
Copy Markdown
Member

@missymessa missymessa commented Mar 12, 2026

fixes: #1558

Root cause: The Arcade SDK v11.0.0-beta.26156.2 sets $(NetPrevious) to empty (because NetMinimum and NetPrevious would be identical at net10.0). The CLI project's TargetFrameworks expanded to net11.0;;net10.0 — the empty entry caused the .NET SDK to fail to generate DotnetToolSettings.xml properly.

Fix: Updated the TargetFrameworks in both affected projects to conditionally include $(NetPrevious) only when it's non-empty:

Microsoft.DotNet.XHarness.CLI.csproj:6-7 — the main tool project
Microsoft.DotNet.XHarness.DefaultAndroidEntryPoint.Xunit.csproj:4-5 — same pattern
The package now builds and packs successfully with DotnetToolSettings.xml present for both net10.0 and net11.0.

@missymessa missymessa requested a review from pavelsavara March 12, 2026 21:47
@missymessa missymessa merged commit 391c863 into main Mar 12, 2026
17 checks passed
@missymessa missymessa deleted the missymessa-1558 branch March 12, 2026 23:26
kotlarmilos pushed a commit to kotlarmilos/xharness that referenced this pull request Mar 16, 2026
kotlarmilos pushed a commit to kotlarmilos/xharness that referenced this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

xharness is failing to install

2 participants