This repository was archived by the owner on Sep 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5959 <PackageReference Include =" System.CommandLine" />
6060 </ItemGroup >
6161
62- <!-- Remove non-AOT safe projects and packages when building native -->
63- <!-- https://github.com/Azure/azure-mcp-pr/issues/318 -->
62+ <!-- IMPORTANT: DO NOT ADD EXCLUSIONS HERE -->
63+ <!-- If the "(Native AOT) Build module" stage fails in CI, follow the AOT compatibility guide:
64+ https://github.com/Azure/azure-mcp/blob/main/docs/aot-compatibility.md
65+ Do not add ProjectReference removals in this ItemGroup. -->
6466 <ItemGroup Condition =" '$(BuildNative)' == 'true'" >
6567 <ProjectReference Remove =" ..\..\..\areas\cosmos\src\AzureMcp.Cosmos\AzureMcp.Cosmos.csproj" />
6668 <ProjectReference Remove =" ..\..\..\areas\azuremanagedlustre\src\AzureMcp.AzureManagedLustre\AzureMcp.AzureManagedLustre.csproj" />
Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ private static IAreaSetup[] RegisterAreas()
8989 new AzureMcp . VirtualDesktop . VirtualDesktopSetup ( ) ,
9090 new AzureMcp . Workbooks . WorkbooksSetup ( ) ,
9191#if ! BUILD_NATIVE
92+ // IMPORTANT: DO NOT MODIFY OR ADD EXCLUSIONS IN THIS SECTION
93+ // This block must remain as-is.
94+ // If the "(Native AOT) Build module" stage fails in CI,
95+ // follow the AOT compatibility guide instead of changing this list:
96+ // https://github.com/Azure/azure-mcp/blob/main/docs/aot-compatibility.md
9297 new AzureMcp . BicepSchema . BicepSchemaSetup ( ) ,
9398 new AzureMcp . AzureManagedLustre . AzureManagedLustreSetup ( ) ,
9499 new AzureMcp . Cosmos . CosmosSetup ( ) ,
You can’t perform that action at this time.
0 commit comments