You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DevProxy.Hosting already works in .NET 11 Aspire app hosts. The package targets net10.0;net9.0;net8.0, so a .NET 11 app host uses the net10.0 build. Aspire.Hosting 13.6.4 targets only net8.0, so there's no conflict. Neither AddDevProxyExecutable (self-contained binary) nor AddDevProxyContainer (ghcr.io/dotnet/dev-proxy) depends on the app host's .NET version.
Proposed changes
Add net11.0 to TargetFrameworks. Keep net8.0 and net9.0: they're out of support, but projects still use them and we shouldn't break them.
Fix the SDK version in .github/workflows/build.yml and publish.yml. Both install 9.0.x, which can't build the net10.0 (or net11.0) target. They probably work only because the runner image already has a newer SDK. Use 11.0.x, which can build all targets.
Check whether Aspire.Hosting should be updated to a version that officially supports .NET 11 app hosts.
Test an Aspire app host targeting net11.0 with both AddDevProxyExecutable and AddDevProxyContainer.
Activity