diff --git a/eng/Directory.Build.Common.props b/eng/Directory.Build.Common.props
index 99fa2ce51d48..bdc665a57963 100644
--- a/eng/Directory.Build.Common.props
+++ b/eng/Directory.Build.Common.props
@@ -124,7 +124,8 @@
true
true
$(DefineConstants);SNIPPET
- false
+ false
+ false
true
diff --git a/eng/Directory.Build.Common.targets b/eng/Directory.Build.Common.targets
index bf137e95b08d..cc4c6e8324a5 100644
--- a/eng/Directory.Build.Common.targets
+++ b/eng/Directory.Build.Common.targets
@@ -29,8 +29,8 @@
$(ApiCompatStandardTargetFramework)
$(ApiCompatRunnableTargetFramework)
-
-
+
+
true
@@ -411,7 +411,7 @@
- '$(PackageRootDirectory)' '$(ServiceDirectory)' '$(PackageId)' '$(VersionForProperties)' '$(PackageSdkType)' '$(PackageIsNewSdk)' '$(BaseOutputPath)' '$(AotCompatOptOut)'
+ '$(PackageRootDirectory)' '$(ServiceDirectory)' '$(PackageId)' '$(VersionForProperties)' '$(PackageSdkType)' '$(PackageIsNewSdk)' '$(BaseOutputPath)'
diff --git a/eng/pipelines/pullrequest.yml b/eng/pipelines/pullrequest.yml
index 5246ed90dd14..aab3e92c7493 100644
--- a/eng/pipelines/pullrequest.yml
+++ b/eng/pipelines/pullrequest.yml
@@ -35,7 +35,6 @@ extends:
ServiceDirectory: template
${{ else }}:
ServiceDirectory: ${{ parameters.Service }}
- CheckAOTCompat: true
BuildSnippets: true
ExcludePaths:
- eng/packages/http-client-csharp/
diff --git a/eng/pipelines/templates/jobs/batched-build-analyze.yml b/eng/pipelines/templates/jobs/batched-build-analyze.yml
index 1fbd74bfd1c4..a0df8ed6aa71 100644
--- a/eng/pipelines/templates/jobs/batched-build-analyze.yml
+++ b/eng/pipelines/templates/jobs/batched-build-analyze.yml
@@ -11,12 +11,6 @@ parameters:
- name: SDKType
type: string
default: all
- - name: CheckAOTCompat
- type: boolean
- default: false
- - name: AOTTestInputs
- type: object
- default: []
- name: BuildSnippets
type: boolean
default: true
@@ -66,8 +60,6 @@ jobs:
TestPipeline: ${{ parameters.TestPipeline }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
SDKType: ${{ parameters.SDKType }}
- CheckAOTCompat: ${{ parameters.CheckAOTCompat }}
- AOTTestInputs: ${{ parameters.AOTTestInputs }}
- job:
displayName: "Analyze"
diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml
index 255b77f647ac..2ca34dedaf62 100644
--- a/eng/pipelines/templates/jobs/ci.yml
+++ b/eng/pipelines/templates/jobs/ci.yml
@@ -17,12 +17,6 @@ parameters:
- name: BuildSnippets
type: boolean
default: true
- - name: CheckAOTCompat
- type: boolean
- default: false
- - name: AOTTestInputs
- type: object
- default: []
- name: TestSetupSteps
type: stepList
default: []
@@ -75,8 +69,6 @@ jobs:
TestPipeline: ${{ parameters.TestPipeline }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
SDKType: ${{ parameters.SDKType }}
- CheckAOTCompat: ${{ parameters.CheckAOTCompat }}
- AOTTestInputs: ${{ parameters.AOTTestInputs }}
BuildSnippets: ${{ parameters.BuildSnippets }}
PreGenerationSteps:
- template: /eng/pipelines/templates/steps/pr-matrix-presteps.yml
@@ -116,8 +108,6 @@ jobs:
TestPipeline: ${{ parameters.TestPipeline }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
SDKType: ${{ parameters.SDKType }}
- CheckAOTCompat: ${{ parameters.CheckAOTCompat }}
- AOTTestInputs: ${{ parameters.AOTTestInputs }}
- job: "Analyze"
timeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}
diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml
index 50788b275c0f..1484a3ce5bcd 100644
--- a/eng/pipelines/templates/stages/archetype-sdk-client.yml
+++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml
@@ -17,12 +17,6 @@ parameters:
- name: BuildSnippets
type: boolean
default: true
- - name: CheckAOTCompat
- type: boolean
- default: false
- - name: AOTTestInputs
- type: object
- default: []
- name: TestSetupSteps
type: stepList
default: []
@@ -84,8 +78,6 @@ extends:
ArtifactName: packages
LimitForPullRequest: ${{ parameters.LimitForPullRequest }}
BuildSnippets: ${{ parameters.BuildSnippets }}
- CheckAOTCompat: ${{ parameters.CheckAOTCompat }}
- AOTTestInputs: ${{ parameters.AOTTestInputs }}
TestSetupSteps: ${{ parameters.TestSetupSteps }}
TestTimeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}
MatrixConfigs:
diff --git a/eng/pipelines/templates/steps/aot-compatibility.yml b/eng/pipelines/templates/steps/aot-compatibility.yml
index 7523af6cf738..bd35638f3c7c 100644
--- a/eng/pipelines/templates/steps/aot-compatibility.yml
+++ b/eng/pipelines/templates/steps/aot-compatibility.yml
@@ -1,7 +1,7 @@
parameters:
ServiceDirectory: ''
+ Artifacts: ''
PackageInfoFolder: ''
- AOTTestInputs: []
steps:
@@ -9,21 +9,42 @@ steps:
- task: Powershell@2
displayName: Check for AOT compatibility regressions for PR
inputs:
- targetType: filepath
- filePath: $(Build.SourcesDirectory)/eng/scripts/compatibility/Check-AOT-Compatibility-For-PR.ps1
- arguments: >-
- -PackageInfoFolder "${{ parameters.PackageInfoFolder }}"
- -ProjectNames "$(ProjectNames)"
+ targetType: inline
+ script: |
+ $packageInfos = Get-ChildItem -Path "${{ parameters.PackageInfoFolder }}" -Filter "*.json" -File `
+ | ForEach-Object { Get-Content -Raw $_.FullName | ConvertFrom-Json }
+
+ Write-Host "Found $($packageInfos.Count) package(s) to check for AOT compatibility."
+
+ $failedAotChecks = $false
+ foreach ($package in $packageInfos) {
+ $packagePath = "$($package.DirectoryPath)/src/$($package.ArtifactName).csproj"
+
+ Write-Host "Running Check-AOT-Compatibility.ps1 for Package: $($package.ArtifactName)"
+ Write-Host "Package Path: $packagePath"
+ Write-Host "$(Build.SourcesDirectory)\eng\scripts\compatibility\Check-AOT-Compatibility.ps1"
+
+ & "$(Build.SourcesDirectory)\eng\scripts\compatibility\Check-AOT-Compatibility.ps1" -PackagePath "$packagePath"
+
+ if ($LASTEXITCODE -ne 0) {
+ $failedAotChecks = $true
+ }
+ }
+
+ if ($failedAotChecks) {
+ Write-Error "AOT compatibility check failed for one or more packages."
+ exit 1
+ }
workingDirectory: $(Build.SourcesDirectory)/eng/scripts/compatibility
- ${{ else }}:
- - ${{ each aotTestInput in parameters.AOTTestInputs }}:
+ - ${{ each artifact in parameters.Artifacts }}:
- task: Powershell@2
- displayName: Check for AOT compatibility regressions in ${{ aotTestInput.ArtifactName }}
+ displayName: Check for AOT compatibility regressions in ${{ artifact.name }}
inputs:
targetType: filepath
filePath: $(Build.SourcesDirectory)/eng/scripts/compatibility/Check-AOT-Compatibility.ps1
arguments: >-
-ServiceDirectory ${{ parameters.ServiceDirectory }}
- -PackageName ${{ aotTestInput.ArtifactName }}
- -ExpectedWarningsFilePath ${{ aotTestInput.ExpectedWarningsFilePath }}
+ -PackageName ${{ artifact.name }}
+ -DirectoryName ${{ artifact.directoryName }}
workingDirectory: $(Build.SourcesDirectory)/eng/scripts/compatibility
diff --git a/eng/pipelines/templates/steps/build.yml b/eng/pipelines/templates/steps/build.yml
index 22c56f8d248b..84446cdeb3bd 100644
--- a/eng/pipelines/templates/steps/build.yml
+++ b/eng/pipelines/templates/steps/build.yml
@@ -11,12 +11,6 @@ parameters:
- name: SDKType
type: string
default: all
- - name: CheckAOTCompat
- type: boolean
- default: false
- - name: AOTTestInputs
- type: object
- default: []
- name: BuildSnippets
type: boolean
default: true
@@ -153,12 +147,11 @@ steps:
LibType: 'client'
PackageInfoFolder: '$(Build.ArtifactStagingDirectory)/PackageInfo'
- - ${{ if eq(parameters.CheckAOTCompat, 'true') }}:
- - template: /eng/pipelines/templates/steps/aot-compatibility.yml
- parameters:
- ServiceDirectory: ${{ parameters.ServiceDirectory }}
- AOTTestInputs: ${{ parameters.AOTTestInputs }}
- PackageInfoFolder: '$(Build.ArtifactStagingDirectory)/PackageInfo'
+ - template: /eng/pipelines/templates/steps/aot-compatibility.yml
+ parameters:
+ ServiceDirectory: ${{ parameters.ServiceDirectory }}
+ Artifacts: ${{ parameters.Artifacts }}
+ PackageInfoFolder: '$(Build.ArtifactStagingDirectory)/PackageInfo'
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: "Component Detection"
diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1
index d4d31edfb862..e9bf71adf0fa 100644
--- a/eng/scripts/Language-Settings.ps1
+++ b/eng/scripts/Language-Settings.ps1
@@ -51,7 +51,7 @@ function Get-AllPackageInfoFromRepo($serviceDirectory)
continue
}
- $pkgPath, $serviceDirectory, $pkgName, $pkgVersion, $sdkType, $isNewSdk, $dllFolder, $AotCompatOptOut = $projectOutput.Split("' '", [System.StringSplitOptions]::RemoveEmptyEntries).Trim("' ")
+ $pkgPath, $serviceDirectory, $pkgName, $pkgVersion, $sdkType, $isNewSdk, $dllFolder = $projectOutput.Split("' '", [System.StringSplitOptions]::RemoveEmptyEntries).Trim("' ")
if(!(Test-Path $pkgPath)) {
Write-Host "Parsed package path `$pkgPath` does not exist so skipping the package line '$projectOutput'."
continue
@@ -67,49 +67,6 @@ function Get-AllPackageInfoFromRepo($serviceDirectory)
$ciProps = $pkgProp.GetCIYmlForArtifact()
if ($ciProps) {
- # First, check if this artifact has baselined warnings in AOTTestInputs
- $aotArtifacts = GetValueSafelyFrom-Yaml $ciProps.ParsedYml @("extends", "parameters", "AOTTestInputs")
- $hasBaselinedWarnings = $false
- if ($aotArtifacts) {
- $matchingAotArtifact = $aotArtifacts | Where-Object { $_.ArtifactName -eq $pkgProp.ArtifactName }
- if ($matchingAotArtifact -and $matchingAotArtifact.ExpectedWarningsFilepath) {
- $hasBaselinedWarnings = $true
- }
- }
-
- # CheckAOTCompat logic: if set in CI.yml, respect that value;
- # if artifact has baselined warnings, run AOT checks;
- # otherwise use AotCompatOptOut from project settings
- $shouldAot = GetValueSafelyFrom-Yaml $ciProps.ParsedYml @("extends", "parameters", "CheckAOTCompat")
- if ($null -ne $shouldAot) {
- $parsedBool = $null
- if ([bool]::TryParse($shouldAot, [ref]$parsedBool)) {
- $pkgProp.CIParameters["CheckAOTCompat"] = $parsedBool
- }
- }
- elseif ($hasBaselinedWarnings) {
- # If artifact has baselined warnings, enable AOT checks
- $pkgProp.CIParameters["CheckAOTCompat"] = $true
- }
- else {
- # If not explicitly opted out of AOT compat, run the check
- $pkgProp.CIParameters["CheckAOTCompat"] = $AotCompatOptOut -ne 'true'
- }
-
- # If CheckAOTCompat is true, look for additional AOTTestInputs parameter
- if ($pkgProp.CIParameters["CheckAOTCompat"]) {
- if ($aotArtifacts) {
- $aotArtifacts = $aotArtifacts | Where-Object { $_.ArtifactName -eq $pkgProp.ArtifactName }
- $pkgProp.CIParameters["AOTTestInputs"] = $aotArtifacts
- }
- else {
- $pkgProp.CIParameters["AOTTestInputs"] = @()
- }
- }
- else {
- $pkgProp.CIParameters["AOTTestInputs"] = @()
- }
-
# BuildSnippets is opt _out_, so we should default to true if not specified
$shouldSnippet = GetValueSafelyFrom-Yaml $ciProps.ParsedYml @("extends", "parameters", "BuildSnippets")
if ($null -ne $shouldSnippet) {
@@ -123,11 +80,8 @@ function Get-AllPackageInfoFromRepo($serviceDirectory)
}
}
# if the package isn't associated with a CI.yml, we still want to set the defaults values for these parameters
- # so that when we are checking the package set for which need to "Build Snippets" or "Check AOT" we won't crash due to the property being null
+ # so that when we are checking the package set for which need to "Build Snippets"
else {
- # No CI.yml found, use IsAotCompatible from csproj for CheckAOTCompat
- $pkgProp.CIParameters["CheckAOTCompat"] = $AotCompatOptOut -eq 'false'
- $pkgProp.CIParameters["AOTTestInputs"] = @()
$pkgProp.CIParameters["BuildSnippets"] = $true
}
diff --git a/eng/scripts/compatibility/Check-AOT-Compatibility-For-PR.ps1 b/eng/scripts/compatibility/Check-AOT-Compatibility-For-PR.ps1
deleted file mode 100644
index 302a7a449ba7..000000000000
--- a/eng/scripts/compatibility/Check-AOT-Compatibility-For-PR.ps1
+++ /dev/null
@@ -1,61 +0,0 @@
-<#
-.DESCRIPTION
-This script checks AOT compatibility packages within the specified folder, limited to just the projects named in the ProjectNames param.
-
-.PARAMETER PackageInfoFolder
-The package info folder containing the JSON files with package metadata.
-
-.PARAMETER ProjectNames
-The comma-separated list of project names targeted for the current batch.
-
-#>
-param(
- [Parameter(Mandatory=$true)]
- [string]$PackageInfoFolder,
- [string]$ProjectNames
-)
-
-if (-not (Test-Path $PackageInfoFolder)) {
- Write-Error "Package info folder '$PackageInfoFolder' does not exist."
- exit 1
-}
-
-$projectNamesArray = @()
-if ($ProjectNames) {
- $projectNamesArray = $ProjectNames.Split(',') | ForEach-Object { $_.Trim() }
-}
-else {
- Write-Error "ProjectNames parameter doesn't target any packages. Please provide a comma-separated list of project names."
- exit 0
-}
-
-$filteredPackages = Get-ChildItem -Path $PackageInfoFolder -Filter "*.json" -File `
- | ForEach-Object { Get-Content -Raw $_.FullName | ConvertFrom-Json } `
- | Where-Object { $projectNamesArray.Contains($_.ArtifactName) }
-
-$failedAotChecks = $false
-foreach ($package in $filteredPackages) {
- if ($package.CIParameters.CheckAOTCompat) {
- Write-Host "Running Check-AOT-Compatibility.ps1 for Package: $($package.ArtifactName) Service $($package.ServiceDirectory)"
-
- # Check if AOTTestInputs exists and has ExpectedWarningsFilePath, otherwise use "None"
- $expectedWarningsFilePath = "None"
- if ($package.CIParameters.AOTTestInputs -and $package.CIParameters.AOTTestInputs.ExpectedWarningsFilePath) {
- $expectedWarningsFilePath = $package.CIParameters.AOTTestInputs.ExpectedWarningsFilePath
- }
-
- & $PSScriptRoot/Check-AOT-Compatibility.ps1 `
- -PackageName $package.ArtifactName `
- -ServiceDirectory $package.ServiceDirectory `
- -ExpectedWarningsFilePath $expectedWarningsFilePath
-
- if ($LASTEXITCODE -ne 0) {
- $failedAotChecks = $true
- }
- }
-}
-
-if ($failedAotChecks) {
- Write-Error "AOT compatibility check failed for one or more packages."
- exit 1
-}
diff --git a/eng/scripts/compatibility/Check-AOT-Compatibility.ps1 b/eng/scripts/compatibility/Check-AOT-Compatibility.ps1
index cb642e0b7cb2..9decdc8fc1f5 100644
--- a/eng/scripts/compatibility/Check-AOT-Compatibility.ps1
+++ b/eng/scripts/compatibility/Check-AOT-Compatibility.ps1
@@ -1,22 +1,50 @@
+[CmdletBinding(DefaultParameterSetName = 'ByNameAndDirectory')]
param(
+ [Parameter(ParameterSetName = 'ByPath', Mandatory = $true)]
+ [string]$PackagePath,
+
+ [Parameter(ParameterSetName = 'ByNameAndDirectory', Mandatory = $true, Position = 0)]
[string]$ServiceDirectory,
+
+ [Parameter(ParameterSetName = 'ByNameAndDirectory', Mandatory = $true, Position = 1)]
[string]$PackageName,
- [string]$ExpectedWarningsFilePath,
- [string]$DirectoryName = "")
-### Creating a test app ###
+ [Parameter(ParameterSetName = 'ByNameAndDirectory', Mandatory = $false)]
+ [string]$DirectoryName
+)
-Write-Host "Creating a test app to publish."
+# Convert ServiceDirectory + PackageName to PackagePath if needed
+if ($PSCmdlet.ParameterSetName -eq 'ByNameAndDirectory') {
+ # Use DirectoryName if provided, otherwise default to PackageName
+ $directory = if ($DirectoryName) { $DirectoryName } else { $PackageName }
+ $PackagePath = "sdk/$ServiceDirectory/$directory/src/$PackageName.csproj"
+}
-$expectedWarningsFullPath = Join-Path -Path "..\..\..\..\sdk\$ServiceDirectory\" -ChildPath $ExpectedWarningsFilePath
+### Check if AOT compatibility is opted out ###
-# Set the project reference path based on whether DirectoryName was provided
-if ([string]::IsNullOrEmpty($DirectoryName)) {
- $projectRefFullPath = "..\..\..\..\sdk\$ServiceDirectory\$PackageName\src\$PackageName.csproj"
-} else {
- $projectRefFullPath = "..\..\..\..\sdk\$ServiceDirectory\$DirectoryName\src\$PackageName.csproj"
+Write-Host "Path: $PackagePath"
+
+$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot .. .. ..)
+$ProjectPath = Join-Path $RepoRoot $PackagePath
+$PackageNameFromPath = [System.IO.Path]::GetFileNameWithoutExtension($PackagePath)
+
+Write-Host "Name: $PackageNameFromPath"
+
+$output = dotnet msbuild -getProperty:AotCompatOptOut "$ProjectPath"
+
+$aotOptOut = $output.Trim() -eq "true"
+
+if ($aotOptOut) {
+ Write-Host "AOT compatibility is opted out for $PackageNameFromPath. Skipping AOT compatibility check."
+ exit 0
}
+### Creating a test app ###
+
+Write-Host "Creating a test app to publish."
+
+$projectRefFullPath = "..\..\..\..\$PackagePath"
+
$folderPath = "\TempAotCompatFiles"
New-Item -ItemType Directory -Path "./$folderPath" | Out-Null
Set-Location "./$folderPath"
@@ -35,7 +63,7 @@ $csprojContent = @"
-
+
@@ -97,25 +125,24 @@ foreach ($line in $($publishOutput -split "`r`n"))
}
}
-Write-Host "There were $actualWarningCount warnings reported."
+### Compare to baselined warnings ###
-### Reading the contents of the text file path ###
+# Baselining warnings is only allowed for two of the Azure.Core.* packages, hard code the file path to the expected
+# warnings as a backdoor for those packages.
-Write-Host "Reading the list of patterns that represent the list of expected warnings."
+$expectedWarningsPath = "..\..\..\..\sdk\core\$PackageNameFromPath\tests\compatibility\ExpectedAotWarnings.txt"
-if (Test-Path $expectedWarningsFullPath -PathType Leaf) {
+if (Test-Path $expectedWarningsPath -PathType Leaf) {
# Read the contents of the file and store each line in an array
- $expectedWarnings = Get-Content -Path $expectedWarningsFullPath
+ $expectedWarnings = Get-Content -Path $expectedWarningsPath
} else {
# If no correct expected warnings were provided, check that there are no warnings reported.
- Write-Host "The specified file does not exist. Assuming no warnings are expected."
-
$warnings = $publishOutput -split "`n" | select-string -pattern 'IL\d+' | select-string -pattern '##' -notmatch
$numWarnings = $warnings.Count
if ($numWarnings -gt 0) {
- Write-Host "Found $numWarnings additional warnings that were not expected:" -ForegroundColor Red
+ Write-Host "Found $numWarnings AOT warnings:" -ForegroundColor Red
foreach ($warning in $warnings) {
Write-Host $warning -ForegroundColor Yellow
}
@@ -127,15 +154,16 @@ if (Test-Path $expectedWarningsFullPath -PathType Leaf) {
Remove-Item -Path "./$folderPath" -Recurse -Force
Write-Host "`nFor help with this check, please see https://github.com/Azure/azure-sdk-for-net/tree/main/doc/dev/AotCompatibility.md"
+ Write-Host "To see this output locally, run 'eng/scripts/compatibility/Check-AOT-Compatibility.ps1 $PackagePath'"
exit $warnings.Count
}
-### Comparing expected warnings to the publish output ###
+Write-Host "There were $actualWarningCount warnings reported from the publish."
$numExpectedWarnings = $expectedWarnings.Count
-Write-Host "Checking against the list of expected warnings. There are $numExpectedWarnings warnings expected."
+Write-Host "There are $numExpectedWarnings warnings expected."
$warnings = $publishOutput -split "`n" | select-string -pattern 'IL\d+' | select-string -pattern '##' -notmatch | select-string -pattern $expectedWarnings -notmatch
$numWarnings = $warnings.Count
@@ -156,8 +184,10 @@ Remove-Item -Path "./$folderPath" -Recurse -Force
if ($numExpectedWarnings -ne $actualWarningCount) {
Write-Host "The number of expected warnings ($numExpectedWarnings) was different than the actual warning count ($actualWarningCount)."
Write-Host "`nFor help with this check, please see https://github.com/Azure/azure-sdk-for-net/tree/main/doc/dev/AotCompatibility.md"
+ Write-Host "To run locally, run eng/scripts/compatibility/Check-AOT-Compatibility.ps1 $PackagePath"
exit 2
}
-
+
Write-Host "`nFor help with this check, please see https://github.com/Azure/azure-sdk-for-net/tree/main/doc/dev/AotCompatibility.md"
+Write-Host "To see this output locally, run 'eng/scripts/compatibility/Check-AOT-Compatibility.ps1 $PackagePath'"
exit $warnings.Count
\ No newline at end of file
diff --git a/sdk/core/Azure.Core.Expressions.DataFactory/src/Azure.Core.Expressions.DataFactory.csproj b/sdk/core/Azure.Core.Expressions.DataFactory/src/Azure.Core.Expressions.DataFactory.csproj
index ee7d82b74ce4..c15cdc122151 100644
--- a/sdk/core/Azure.Core.Expressions.DataFactory/src/Azure.Core.Expressions.DataFactory.csproj
+++ b/sdk/core/Azure.Core.Expressions.DataFactory/src/Azure.Core.Expressions.DataFactory.csproj
@@ -11,7 +11,7 @@
$(RequiredTargetFrameworks)
true
false
- true
+ true
diff --git a/sdk/core/Azure.Core/src/Azure.Core.csproj b/sdk/core/Azure.Core/src/Azure.Core.csproj
index 4a43253c6517..996a15c1c675 100644
--- a/sdk/core/Azure.Core/src/Azure.Core.csproj
+++ b/sdk/core/Azure.Core/src/Azure.Core.csproj
@@ -12,7 +12,7 @@
true
true
false
- true
+ true
diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml
index 8677dc5d4d7c..26c2ff8b2892 100644
--- a/sdk/core/ci.yml
+++ b/sdk/core/ci.yml
@@ -70,11 +70,6 @@ extends:
- name: Microsoft.ClientModel.TestFramework
safeName: MicrosoftClientModelTestFramework
skipReleaseStage: true
- AOTTestInputs:
- - ArtifactName: Azure.Core
- ExpectedWarningsFilepath: /Azure.Core/tests/compatibility/ExpectedAotWarnings.txt
- - ArtifactName: Azure.Core.Expressions.DataFactory
- ExpectedWarningsFilepath: /Azure.Core.Expressions.DataFactory/tests/compatibility/ExpectedAotWarnings.txt
TestSetupSteps:
- template: /sdk/storage/tests-install-azurite.yml
diff --git a/sdk/dataprotection/ci.mgmt.yml b/sdk/dataprotection/ci.mgmt.yml
index 86b3f8c7b2b3..80602f2f5440 100644
--- a/sdk/dataprotection/ci.mgmt.yml
+++ b/sdk/dataprotection/ci.mgmt.yml
@@ -20,8 +20,4 @@ extends:
LimitForPullRequest: true
Artifacts:
- name: Azure.ResourceManager.DataProtectionBackup
- safeName: AzureResourceManagerDataProtectionBackup
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.ResourceManager.DataProtectionBackup
- ExpectedWarningsFilepath: None
\ No newline at end of file
+ safeName: AzureResourceManagerDataProtectionBackup
\ No newline at end of file
diff --git a/sdk/disconnectedoperations/ci.mgmt.yml b/sdk/disconnectedoperations/ci.mgmt.yml
index 8511f0ea0dcb..af3d3ec73e4f 100644
--- a/sdk/disconnectedoperations/ci.mgmt.yml
+++ b/sdk/disconnectedoperations/ci.mgmt.yml
@@ -22,7 +22,3 @@ extends:
Artifacts:
- name: Azure.ResourceManager.DisconnectedOperations
safeName: AzureResourceManagerDisconnectedOperations
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.ResourceManager.DisconnectedOperations
- ExpectedWarningsFilepath: None
diff --git a/sdk/eventhub/ci.mgmt.yml b/sdk/eventhub/ci.mgmt.yml
index c6a7b2bc2784..2dad3c23302b 100644
--- a/sdk/eventhub/ci.mgmt.yml
+++ b/sdk/eventhub/ci.mgmt.yml
@@ -22,8 +22,3 @@ extends:
Artifacts:
- name: Azure.ResourceManager.EventHubs
safeName: AzureResourceManagerEventHubs
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.ResourceManager.EventHubs
- ExpectedWarningsFilepath: None
-
diff --git a/sdk/extensions/ci.yml b/sdk/extensions/ci.yml
index 45ee81e78eb1..44b313df62d4 100644
--- a/sdk/extensions/ci.yml
+++ b/sdk/extensions/ci.yml
@@ -43,7 +43,3 @@ extends:
- sdk/keyvault/Azure.Security.KeyVault.Secrets/
- name: Microsoft.Azure.WebJobs.Extensions.Clients
safeName: MicrosoftAzureWebJobsExtensionsClients
- CheckAOTCompat: false
- AOTTestInputs:
- - ArtifactName: Microsoft.Extensions.Azure
- ExpectedWarningsFilepath: None
diff --git a/sdk/identity/ci.yml b/sdk/identity/ci.yml
index 10a2f27b94b7..78ef81ce315d 100644
--- a/sdk/identity/ci.yml
+++ b/sdk/identity/ci.yml
@@ -31,7 +31,3 @@ extends:
safeName: AzureIdentity
- name: Azure.Identity.Broker
safeName: AzureIdentityBroker
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.Identity.Broker
- ExpectedWarningsFilepath: "Azure.Identity.Broker/tests/compatibility/ExpectedWarnings.txt"
diff --git a/sdk/quota/ci.mgmt.yml b/sdk/quota/ci.mgmt.yml
index 36bf6abce002..fa0d0aad2bcf 100644
--- a/sdk/quota/ci.mgmt.yml
+++ b/sdk/quota/ci.mgmt.yml
@@ -20,8 +20,4 @@ extends:
LimitForPullRequest: true
Artifacts:
- name: Azure.ResourceManager.Quota
- safeName: AzureResourceManagerQuota
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.ResourceManager.Quota
- ExpectedWarningsFilepath: None
\ No newline at end of file
+ safeName: AzureResourceManagerQuota
\ No newline at end of file
diff --git a/sdk/resources/ci.mgmt.yml b/sdk/resources/ci.mgmt.yml
index 0ea1060e64ea..596461ad6674 100644
--- a/sdk/resources/ci.mgmt.yml
+++ b/sdk/resources/ci.mgmt.yml
@@ -30,7 +30,3 @@ extends:
safeName: AzureResourceManagerResourcesDeployments
- name: Azure.ResourceManager.Resources.DeploymentStacks
safeName: AzureResourceManagerResourcesDeploymentStacks
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.ResourceManager.Resources
- ExpectedWarningsFilepath: None
diff --git a/sdk/sitemanager/ci.mgmt.yml b/sdk/sitemanager/ci.mgmt.yml
index 065ee491034c..7abc1a632539 100644
--- a/sdk/sitemanager/ci.mgmt.yml
+++ b/sdk/sitemanager/ci.mgmt.yml
@@ -21,7 +21,3 @@ extends:
Artifacts:
- name: Azure.ResourceManager.SiteManager
safeName: AzureResourceManagerSiteManager
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.ResourceManager.SiteManager
- ExpectedWarningsFilepath: None
diff --git a/sdk/storagediscovery/ci.mgmt.yml b/sdk/storagediscovery/ci.mgmt.yml
index 76c3c9e371af..38fa9e504372 100644
--- a/sdk/storagediscovery/ci.mgmt.yml
+++ b/sdk/storagediscovery/ci.mgmt.yml
@@ -22,7 +22,3 @@ extends:
Artifacts:
- name: Azure.ResourceManager.StorageDiscovery
safeName: AzureResourceManagerStorageDiscovery
- CheckAOTCompat: true
- AOTTestInputs:
- - ArtifactName: Azure.ResourceManager.StorageDiscovery
- ExpectedWarningsFilepath: None