Skip to content

Commit 5c33182

Browse files
authored
Fix AoT warnings (#3366)
* Fix AoT warnings * Update Directory.Build.props
1 parent 5013c25 commit 5c33182

File tree

21 files changed

+643
-445
lines changed

21 files changed

+643
-445
lines changed

.github/workflows/aot-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929

3030
- name: Runs powershell script
3131
id: aot-powershell
32-
run: build\test-aot.ps1 'net8.0'
32+
run: build\test-aot.ps1 'net9.0'
3333

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<!--This should be passed from the VSTS build-->
44
<!-- This needs to be greater than or equal to the validation baseline version -->
5-
<MicrosoftIdentityWebVersion Condition="'$(MicrosoftIdentityWebVersion)' == ''">3.8.5</MicrosoftIdentityWebVersion>
5+
<MicrosoftIdentityWebVersion Condition="'$(MicrosoftIdentityWebVersion)' == ''">3.9.1</MicrosoftIdentityWebVersion>
66
<!--This will generate AssemblyVersion, AssemblyFileVersion and AssemblyInformationVersion-->
77
<Version>$(MicrosoftIdentityWebVersion)</Version>
88

@@ -95,7 +95,7 @@
9595
<AzureSecurityKeyVaultCertificatesVersion>4.6.0</AzureSecurityKeyVaultCertificatesVersion>
9696
<MicrosoftGraphVersion>4.36.0</MicrosoftGraphVersion>
9797
<MicrosoftGraphBetaVersion>4.57.0-preview</MicrosoftGraphBetaVersion>
98-
<MicrosoftIdentityAbstractionsVersion>9.0.0</MicrosoftIdentityAbstractionsVersion>
98+
<MicrosoftIdentityAbstractionsVersion>9.1.0</MicrosoftIdentityAbstractionsVersion>
9999
<!--CVE-2024-43485-->
100100
<SystemTextJsonVersion>8.0.5</SystemTextJsonVersion>
101101
<!--CVE-2023-29331-->

build/test-aot.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ foreach ($line in $($publishOutput -split "`r`n"))
1616
}
1717

1818
Write-Host "Actual warning count is: ", $actualWarningCount
19-
$expectedWarningCount = 65
19+
$expectedWarningCount = 50
2020

2121
if ($LastExitCode -ne 0)
2222
{

0 commit comments

Comments
 (0)