Skip to content

Revert "Adopt PublishWithContainerFiles for frontend assets and remove esproj coupling"#1332

Merged
IEvangelist merged 1 commit into
mainfrom
revert-1171-copilot/use-publishwithcontainerfiles
Jul 6, 2026
Merged

Revert "Adopt PublishWithContainerFiles for frontend assets and remove esproj coupling"#1332
IEvangelist merged 1 commit into
mainfrom
revert-1171-copilot/use-publishwithcontainerfiles

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Reverts #1171

Copilot AI review requested due to automatic review settings July 6, 2026 13:45
@IEvangelist IEvangelist enabled auto-merge (squash) July 6, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Reverts aspire.dev#1171 by restoring the prior approach of coupling the StaticHost build to the frontend frontend.esproj (instead of publishing frontend assets via PublishWithContainerFiles from the AppHost).

Changes:

  • Reintroduces a ProjectReference from StaticHost to frontend.esproj (intended to bring frontend build outputs back into the StaticHost pipeline).
  • Removes AddViteApp(...) and PublishWithContainerFiles(...) from the deployment/publish path; keeps Vite only for local run mode.
  • Adds frontend.esproj back into the solution file.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/statichost/StaticHost/StaticHost.csproj Restores a build-time dependency on frontend.esproj (with an attempt to prevent transitive propagation).
src/apphost/Aspire.Dev.AppHost/AppHost.cs Removes container-files publishing of frontend assets; Vite is now only created in run mode.
Aspire.Dev.slnx Adds src/frontend/frontend.esproj back to the solution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/statichost/StaticHost/StaticHost.csproj
@IEvangelist IEvangelist merged commit e758af7 into main Jul 6, 2026
7 checks passed
@IEvangelist IEvangelist deleted the revert-1171-copilot/use-publishwithcontainerfiles branch July 6, 2026 15:56
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.

3 participants