Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow dropping native host for NativeAOT WinRT components (#1395)
* Add property/logic to generate WinRT native exports * Make CsWinRTAotExportsEnabled compiler visible * Automatically set CsWinRTAotExportsEnabled if needed * Update authoring targets for NativeAOT scenario * Refactor items in authoring .targets for clarity * Fix two typos in generated native exports * Return REGDB_E_CLASSNOTREG for class not registered * Enable testing authoring scenario with NativeAOT * Return CLASS_E_CLASSNOTAVAILABLE instead * Update WinRT.Host.runtimeconfig.json for .NET 8 * Update .NET 8 SDK to 8.0.100 stable * Update AuthoringConsumptionTest.vcxproj * Skip native host copy target for NAOT * Fix AuthoringTest .NET TFM in AuthoringWinUITest projects * Update unit test for class not registered * Update CsWinRTExeTFM for .NET 7 and .NET 8 * Handle .NET 8 in generator * Fix version causing debug build failures * Add target to publish AuthoringTest from consuming test * Publish AuthoringTest with NAOT in build.cmd * Fix publishing for AOT (some tests still failing). * Fix gaps found from AuthoringTest being built for AOT * Add property/logic to generate WinRT native exports * Make CsWinRTAotExportsEnabled compiler visible * Automatically set CsWinRTAotExportsEnabled if needed * Update authoring targets for NativeAOT scenario * Refactor items in authoring .targets for clarity * Fix two typos in generated native exports * Return REGDB_E_CLASSNOTREG for class not registered * Enable testing authoring scenario with NativeAOT * Return CLASS_E_CLASSNOTAVAILABLE instead * Update WinRT.Host.runtimeconfig.json for .NET 8 * Update .NET 8 SDK to 8.0.100 stable * Update AuthoringConsumptionTest.vcxproj * Skip native host copy target for NAOT * Fix AuthoringTest .NET TFM in AuthoringWinUITest projects * Update unit test for class not registered * Update CsWinRTExeTFM for .NET 7 and .NET 8 * Handle .NET 8 in generator * Fix version causing debug build failures * Add target to publish AuthoringTest from consuming test * Publish AuthoringTest with NAOT in build.cmd * Fix publishing for AOT (some tests still failing). * Fix issue with IID optimizer for certain scenarios and fix missing vtable entries for some custom mapped types * Fix bug where generics in class names caused issues * Add property/logic to generate WinRT native exports * Make CsWinRTAotExportsEnabled compiler visible * Automatically set CsWinRTAotExportsEnabled if needed * Update authoring targets for NativeAOT scenario * Refactor items in authoring .targets for clarity * Fix two typos in generated native exports * Return REGDB_E_CLASSNOTREG for class not registered * Enable testing authoring scenario with NativeAOT * Return CLASS_E_CLASSNOTAVAILABLE instead * Update WinRT.Host.runtimeconfig.json for .NET 8 * Update .NET 8 SDK to 8.0.100 stable * Update AuthoringConsumptionTest.vcxproj * Skip native host copy target for NAOT * Fix AuthoringTest .NET TFM in AuthoringWinUITest projects * Update unit test for class not registered * Update CsWinRTExeTFM for .NET 7 and .NET 8 * Handle .NET 8 in generator * Fix version causing debug build failures * Add target to publish AuthoringTest from consuming test * Publish AuthoringTest with NAOT in build.cmd * Fix publishing for AOT (some tests still failing). * Address PR feedback * PR feedback from other PR --------- Co-authored-by: Manodasan Wignarajah <[email protected]>
- Loading branch information