Skip to content

Fix .NET Standard authoring support#1632

Merged
manodasanW merged 2 commits into
staging/AOTfrom
manodasanw/fixnetstandardcomponent
Jun 5, 2024
Merged

Fix .NET Standard authoring support#1632
manodasanW merged 2 commits into
staging/AOTfrom
manodasanw/fixnetstandardcomponent

Conversation

@manodasanW
Copy link
Copy Markdown
Member

There is an internal team that uses our authoring support with .NET Standard. It looks like our recent AOT changes regressed them as we didn't have the netstandard check for the activation factory scenario. This PR makes sure to check netstandard compat before writing the WinRTExposedType attributes as those are only on .NET 6+ right now. Also doing a minor change to the Windows SDK projection type for how we throw the exception to see if it helps with unblocking an internal team who is running into issues there due to using an older version of .NET until they can get that updated.

@manodasanW manodasanW merged commit 0f49b12 into staging/AOT Jun 5, 2024
@manodasanW manodasanW deleted the manodasanw/fixnetstandardcomponent branch June 5, 2024 19:45
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.

1 participant