Skip to content

Implement stub .exe support for apps + WinRT components - #1895

Merged
Sergio Pedri (Sergio0694) merged 24 commits into
staging/2.3from
user/sergiopedri/stub-exe2
Jan 22, 2025
Merged

Sergio Pedri (Sergio0694) merged 24 commits into
staging/2.3from
user/sergiopedri/stub-exe2

Conversation

@Sergio0694

Copy link
Copy Markdown
Member

This PR adds support for generating a stub .exe for an app that's merging WinRT components.
We can split the general "stub .exe" feature into two steps:

  • This PR covers the stub .exe for the application entry point
  • A follow up PR can add support for additional stub .exe-s for custom entry points

This uses a normal binary with standard options.
We can optimize the size to skip CRT in a follow up.

Comment thread nuget/Microsoft.Windows.CsWinRT.targets Outdated
Comment thread nuget/readme.md Outdated
Comment thread src/Authoring/WinRT.SourceGenerator/Generator.cs Outdated
Comment thread nuget/Microsoft.Windows.CsWinRT.targets Outdated
""");

// There's three possible cases for this method:
// There's four possible cases for this method:

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.

Should we add a C# exe project to reference the authoring project and set this property to exercise these changes in the build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants