Skip to content

Clean up RemoteHost project now that it is included in the Aspire.Managed#15149

Merged
eerhardt merged 1 commit intomicrosoft:release/13.2from
eerhardt:FixAspireServer
Mar 12, 2026
Merged

Clean up RemoteHost project now that it is included in the Aspire.Managed#15149
eerhardt merged 1 commit intomicrosoft:release/13.2from
eerhardt:FixAspireServer

Conversation

@eerhardt
Copy link
Member

These settings are no longer needed.

They also make debugging harder than it should be.

@github-actions
Copy link
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15149

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15149"

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes now-unnecessary build/packaging/debugging settings from the Aspire.Hosting.RemoteHost project after the RemoteHost functionality was incorporated into Aspire.Managed, aiming to simplify local debugging.

Changes:

  • Removes the RemoteHost Program.cs entrypoint.
  • Simplifies Aspire.Hosting.RemoteHost.csproj by dropping executable/packaging/publish/debug-related properties and marking the project as non-packable.
  • Adds Aspire.Managed to the solution.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/Aspire.Hosting.RemoteHost/Program.cs Removes the RemoteHost server entrypoint.
src/Aspire.Hosting.RemoteHost/Aspire.Hosting.RemoteHost.csproj Strips exe/packaging/publish/debug settings; disables packing.
Aspire.slnx Adds the Aspire.Managed project to the solution.

@davidfowl
Copy link
Contributor

Test in dev mode first

cc @sebastienros

@eerhardt
Copy link
Member Author

Test in dev mode first

cc @sebastienros

Tested in dev mode and it appears to work. So does the PR built assets.

@eerhardt eerhardt merged commit 4517592 into microsoft:release/13.2 Mar 12, 2026
259 checks passed
@eerhardt eerhardt deleted the FixAspireServer branch March 12, 2026 15:32
@dotnet-policy-service dotnet-policy-service bot added this to the 13.2 milestone Mar 12, 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.

4 participants