Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ClickOnce entry assembly not having Avalonia XAML compilation output #17115

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

TomEdwardsEnscape
Copy link
Contributor

ClickOnce records the "entry point assembly" at evaluation time. This means that even though our InjectAvaloniaXamlOutput target executes at the correct time, there is a copy of the original file path that it doesn't know about and so can't update. As a result, the assembly being published doesn't have XAML compile output (all referenced assemblies are OK though).

What is the updated/expected behavior with this PR?

We now update the ClickOnce item.

Breaking changes

None.

Obsoletions / Deprecations

None.

Fixed issues

Fixes #16732

@TomEdwardsEnscape TomEdwardsEnscape force-pushed the fixes/clickonce-publish-entrypoint branch from b5a670b to d0adb91 Compare September 24, 2024 20:15
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0052072-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul added area-infrastructure Issues related to CI/tooling infrastructur bug backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Sep 25, 2024
@MrJul MrJul added this pull request to the merge queue Sep 25, 2024
@MrJul
Copy link
Member

MrJul commented Sep 25, 2024

Thanks!

Merged via the queue into AvaloniaUI:master with commit f36cb54 Sep 25, 2024
11 checks passed
@TomEdwardsEnscape TomEdwardsEnscape deleted the fixes/clickonce-publish-entrypoint branch September 25, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Issues related to CI/tooling infrastructur backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrading to 11.1 breaks ClickOnce deployment
3 participants