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: CSWinRT-related compilation issues #1059

Closed

Conversation

Takoooooo
Copy link
Contributor

@Takoooooo Takoooooo commented Oct 26, 2024

This one could be reverted when this issue is fixed -> microsoft/CsWinRT#1809
Decided to use CsWinRTAotOptimizerEnabled instead of AllowUnsafeBlocks since it seems that there are other related issues to WinRT.SourceGenerator

@@ -3,6 +3,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CsWinRTAotOptimizerEnabled>false</CsWinRTAotOptimizerEnabled>
Copy link
Member

Choose a reason for hiding this comment

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

Thanks. We won't this this in the templates directly at this time, we'll adjust that in the SDK.

@Takoooooo Takoooooo closed this Oct 26, 2024
@Takoooooo Takoooooo deleted the fix-cswinrt-compilation-issues branch October 26, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants