Skip to content

Conversation

@ElanHasson
Copy link
Contributor

Summary

  • Upgrades all projects from .NET 9 to .NET 10
  • Updates all package dependencies to latest compatible versions
  • Adds session start hook for automatic .NET 10 installation in remote environments

Changes

Framework Upgrade

  • Updated TargetFramework from net9.0 to net10.0 in all projects:
    • src/InfinityFlow.Aspire.Temporal
    • sample/AppHost
    • sample/Api
    • sample/Worker
    • sample/ServiceDefaults

Package Updates

  • Aspire packages: 9.5.0 → 13.0.0

    • Aspire.Hosting.AppHost
    • Aspire.AppHost.Sdk
    • Microsoft.Extensions.ServiceDiscovery
  • Microsoft.Extensions packages: 9.0.9/9.9.0 → 10.0.0

    • Microsoft.Extensions.Hosting
    • Microsoft.Extensions.Http.Resilience
    • Microsoft.Extensions.ServiceDiscovery
  • OpenTelemetry packages: 1.12.0/1.13.0 → 1.14.0

    • OpenTelemetry.Exporter.OpenTelemetryProtocol
    • OpenTelemetry.Extensions.Hosting
    • OpenTelemetry.Instrumentation.AspNetCore
    • OpenTelemetry.Instrumentation.Http
    • OpenTelemetry.Instrumentation.Runtime
  • Temporalio: 1.7.0 → 1.9.0

Session Start Hook

  • Added .claude/settings.json with SessionStart hook configuration
  • Added scripts/install-dotnet.sh for automatic .NET 10 SDK installation
  • Script only runs in remote environments (checks CLAUDE_CODE_REMOTE=true)
  • Persists DOTNET_ROOT and PATH environment variables for session

Build Status

✅ Build succeeds on .NET 10.0.100-rc.2 with only documentation warnings

🤖 Generated with Claude Code

ElanHasson and others added 3 commits November 22, 2025 19:25
- Update all projects from net9.0 to net10.0
- Upgrade Aspire packages to 13.0.0
- Upgrade Microsoft.Extensions packages to 10.0.0
- Upgrade OpenTelemetry packages to 1.14.0
- Update Temporalio to 1.9.0 (from latest main)
- Add session start hook for .NET 10 installation
- Add .claude/settings.json with dotnet install hook
- Add scripts/install-dotnet.sh for remote environments

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Update dotnet.yml to use dotnet-version: 10.0.x
- Update publish.yaml to use dotnet-version: 10.0.x

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
ElanHasson and others added 4 commits November 22, 2025 19:27
.NET 10 is still in preview, so we need to specify dotnet-quality: 'preview'
and the workload restore step is not needed for this project.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Add missing closing </ItemGroup> tag

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@ElanHasson ElanHasson merged commit 27b8e94 into main Nov 23, 2025
2 checks passed
@ElanHasson ElanHasson deleted the upgrade-dotnet-10 branch November 23, 2025 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants