mirror of
https://github.com/ivuorinen/hiha-arvio.git
synced 2026-01-26 11:24:04 +00:00
Add -p:TargetFramework=net8.0 to all dotnet commands in test workflow to prevent transitive restoration of iOS/macOS target frameworks. **Problem**: - Test project references main HihaArvio project - Main project has multi-target frameworks (net8.0, net8.0-ios, net8.0-maccatalyst) - Restoring test project transitively restores all target frameworks - iOS/macOS frameworks require macOS-specific workloads - These workloads don't exist on Ubuntu runners **Solution**: Add `-p:TargetFramework=net8.0` to: - dotnet restore (only restore for net8.0) - dotnet build (only build for net8.0) - dotnet test (only test for net8.0) **Verification**: Tested locally - all 189 tests pass with this approach. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>