Skip to content

Conversation

@sujitnayak
Copy link
Contributor

@sujitnayak sujitnayak commented Nov 22, 2023

Fixes #
AB#1921068

Description

PR 9299 added support for publishing content artifacts from P2P references. After this change, there is an installation failure that has been reported for a scenario where an EXE project has a P2P reference to another EXE project. For such a scenario, there are 2 apphost.exe's that are present in the list of artifacts to be published - one from the main project and the other from the referenced EXE project.

Customer Impact

ClickOnce does not expect 2 apphost.exe's to be published together and both of the apphost.exe's get published as the assembly name of the main project. This leads to a duplicate entry in the ClickOnce application manifest and the installation of the app fails due to this.

Regression: Yes, worked before 17.8.

Risk: Low

Changes Made

ClickOnce's ResolveManifestFiles and GenerateApplicationManifest task are being updated to handle the case where more than 1 apphost.exe files need to be published. Instead of publishing them with the name of the assembly of the main project, we use the TargetPath metadata of the file item to publish the file.

Testing

CTI has done a full test pass for regression and the failing scenario.
The failing scenario has been added to the ClickOnce test suite.

@ghost
Copy link

ghost commented Nov 22, 2023

Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version.

@AR-May AR-May requested a review from ladipro November 28, 2023 14:34
@sujitnayak sujitnayak force-pushed the user/sujitn/1921068 branch 2 times, most recently from c38959c to 634d319 Compare December 1, 2023 00:15
@ladipro
Copy link
Member

ladipro commented Dec 6, 2023

@AR-May this is a vs17.8 PR. Can you please review, specifically check that it's compliant with our servicing requirements (need a version bump?)

@sujitnayak can you please fill out and attach the M2/QB servicing template to the AzDO bug? We'll then take it through the servicing process. Thank you!

AR-May
AR-May previously requested changes Dec 13, 2023
Copy link
Member

@AR-May AR-May left a comment

Choose a reason for hiding this comment

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

LGTM overall. Please bump the version like in this commit: e145a24

@ladipro
Copy link
Member

ladipro commented Dec 19, 2023

LGTM overall. Please bump the version like in this commit: e145a24

Done.

@JanKrivanek JanKrivanek requested a review from AR-May January 3, 2024 14:04
@ladipro
Copy link
Member

ladipro commented Jan 3, 2024

@sujitnayak can you please fill out and attach the M2/QB servicing template to the AzDO bug? We'll then take it through the servicing process. Thank you!

@sujitnayak, friendly ping on this. The bug needs the servicing template.

@sujitnayak
Copy link
Contributor Author

@sujitnayak can you please fill out and attach the M2/QB servicing template to the AzDO bug? We'll then take it through the servicing process. Thank you!

@sujitnayak, friendly ping on this. The bug needs the servicing template.

@ladipro Thanks, I have filled out the bug template.

@ghost
Copy link

ghost commented Jan 4, 2024

Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version.

@sujitnayak
Copy link
Contributor Author

Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version.

@ladipro does the version have to be bumped again?

@ladipro ladipro force-pushed the user/sujitn/1921068 branch from 889ab8d to e8f2345 Compare January 4, 2024 21:33
@ladipro ladipro force-pushed the user/sujitn/1921068 branch from e8f2345 to efbb65d Compare January 4, 2024 21:35
@ladipro
Copy link
Member

ladipro commented Jan 4, 2024

Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version.

@ladipro does the version have to be bumped again?

Indeed. It's odd that GitHub was not detecting the conflict. Thank you!

@rainersigwald rainersigwald dismissed AR-May’s stale review January 4, 2024 22:15

version bump was done

@JanKrivanek JanKrivanek merged commit b5265ef into dotnet:vs17.8 Jan 5, 2024
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.

6 participants