Skip to content

Investigate making the WinRT AOT source generator a build task for WinAppSDK apps #1919

@manodasanW

Description

@manodasanW

Summary

Right now, the WinRT AOT source generator runs in auto mode for WinAppSDK apps. In a future WinAppSDK release, we should look at making it running as a build task if possible. This can be controlled via a property that WinAppSDK sets and then includes a props / targets that we distribute that runs it as a build task.

Rationale

We got feedback from larger non WinAppSDK apps that when it was running in auto mode for them, there was an IDE performance impact. For those scenarios, it is now running in opt-in mode as those projects don't need auto. But we can further expand that effort by making auto mode a build task. Given we can't easily just make it a build task from a targeting pack which is how we are distributed in the .NET SDK, it would be opt-in via some targets we distribute.

Important Notes

No response

Open Questions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions