Skip to content

Add 'CsWinRTMergeReferencedActivationFactories' option#1637

Merged
Sergio0694 merged 17 commits into
staging/AOTfrom
user/sergiopedri/merged-activation-factories
Jun 28, 2024
Merged

Add 'CsWinRTMergeReferencedActivationFactories' option#1637
Sergio0694 merged 17 commits into
staging/AOTfrom
user/sergiopedri/merged-activation-factories

Conversation

@Sergio0694
Copy link
Copy Markdown
Member

This PR includes the following changes:

  • Add the new [WinRTAssemblyExportsType] attribute
  • Generate a type with a unique name referenced by it, in each authored component
  • Add the CsWinRTMergeReferencedActivationFactories option to merge all activation factories

@Sergio0694 Sergio0694 added enhancement New feature or request authoring Related to authoring feature work AOT labels Jun 11, 2024
@Sergio0694 Sergio0694 requested a review from manodasanW June 11, 2024 21:19
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/merged-activation-factories branch from 9cc6d81 to 6ca3960 Compare June 11, 2024 22:00
@Sergio0694
Copy link
Copy Markdown
Member Author

Seems to work fine when testing locally 🙂

Disabled (click to expand):

image

image

image

Enabled (click to expand):

image

Comment thread src/Authoring/WinRT.SourceGenerator/Generator.cs
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/merged-activation-factories branch from 6fea3f1 to 1c735f3 Compare June 28, 2024 07:03
@Sergio0694 Sergio0694 merged commit 8a20bab into staging/AOT Jun 28, 2024
@Sergio0694 Sergio0694 deleted the user/sergiopedri/merged-activation-factories branch June 28, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AOT authoring Related to authoring feature work enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants