Skip to content

[dashboard-oop] Fix dashboard publish pack by adding published assets to tools folder - #1796

Closed
Jose Perez Rodriguez (joperezr) wants to merge 1 commit into
microsoft:feature/dashboard-oopfrom
joperezr:FixDashboardPublishPack
Closed

Jose Perez Rodriguez (joperezr) wants to merge 1 commit into
microsoft:feature/dashboard-oopfrom
joperezr:FixDashboardPublishPack

Conversation

@joperezr

@joperezr Jose Perez Rodriguez (joperezr) commented Jan 24, 2024 •

Copy link
Copy Markdown
Member

Currently published assets are not being added to the package due to a timing issue. This is fixing that.

Microsoft Reviewers: Open in CodeFlow

@joperezr

Copy link
Copy Markdown
Member Author

I have manually validated locally that from a clean build, packages now have the published assets.


<!-- After publishing the project, we ensure that the published assets get packed in the nuspec. -->
<ItemGroup>
<None Include="$(DotNetOutputPath)Aspire.Dashboard/$(Configuration)/$(TargetFramework)/$(DashboardRuntime)/publish/**/*" Pack="true" PackagePath="tools/" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The wildcard can match nothing too. Instead, we should add that to a temporary item, and then to None. And error out if the item is empty.

@drewnoakes Drew Noakes (drewnoakes) changed the title Fix dashboard publish pack by adding published assets to tools folder [dashboard-oop] Fix dashboard publish pack by adding published assets to tools folder Jan 24, 2024
@drewnoakes
Drew Noakes (drewnoakes) deleted the branch microsoft:feature/dashboard-oop January 24, 2024 12:08
@drewnoakes

Copy link
Copy Markdown
Member

GitHub closed this when I merged the feature branch, and I can't see a way to retarget it. I think we'll need a new PR unfortunately.

@drewnoakes

Copy link
Copy Markdown
Member

Recreated as #1816.

@github-actions github-actions Bot locked and limited conversation to collaborators Apr 25, 2024
@joperezr
Jose Perez Rodriguez (joperezr) deleted the FixDashboardPublishPack branch May 16, 2024 20:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants