diff --git a/Directory.Build.props b/Directory.Build.props index e2bcc9906..808969d77 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -36,6 +36,7 @@ true 13 true + $(NoWarn);NETSDK1138 diff --git a/build/template-publish-and-cleanup.yaml b/build/template-publish-and-cleanup.yaml index bc4ac49e0..de68de1a9 100644 --- a/build/template-publish-and-cleanup.yaml +++ b/build/template-publish-and-cleanup.yaml @@ -50,5 +50,12 @@ steps: GdnPublishTsaConfigFile: '$(Build.SourcesDirectory)/build/tsaConfig.json' continueOnError: true +- task: BuildQualityChecks@9 + displayName: 'Check Warnings' + inputs: + checkWarnings: true + warningFailOption: 'build' + showStatistics: true + - task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3 displayName: 'Clean Agent Directories' diff --git a/src/Microsoft.Identity.Web.GraphServiceClientBeta/Microsoft.Identity.Web.GraphServiceClientBeta.csproj b/src/Microsoft.Identity.Web.GraphServiceClientBeta/Microsoft.Identity.Web.GraphServiceClientBeta.csproj index 3e235c13b..33b9f04b5 100644 --- a/src/Microsoft.Identity.Web.GraphServiceClientBeta/Microsoft.Identity.Web.GraphServiceClientBeta.csproj +++ b/src/Microsoft.Identity.Web.GraphServiceClientBeta/Microsoft.Identity.Web.GraphServiceClientBeta.csproj @@ -1,4 +1,4 @@ - + Microsoft Identity Web, Microsoft Graph v5+ helper @@ -11,6 +11,7 @@ {608F0E0B-A52D-4E0F-9B1A-BA9BDA866484} 2.12.2 README.md + $(NoWarn);NU5104 diff --git a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/Microsoft.Identity.Web.MicrosoftGraphBeta.csproj b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/Microsoft.Identity.Web.MicrosoftGraphBeta.csproj index 439fd3740..89cc55f31 100644 --- a/src/Microsoft.Identity.Web.MicrosoftGraphBeta/Microsoft.Identity.Web.MicrosoftGraphBeta.csproj +++ b/src/Microsoft.Identity.Web.MicrosoftGraphBeta/Microsoft.Identity.Web.MicrosoftGraphBeta.csproj @@ -1,4 +1,4 @@ - + Microsoft Identity Web, Microsoft Graph helper @@ -9,6 +9,7 @@ that call Microsoft Graph Beta. README.md + $(NoWarn);NU5104 diff --git a/tests/DevApps/AjaxCallActionsWithDynamicConsent/AjaxCallActionsWithDynamicConsent.csproj b/tests/DevApps/AjaxCallActionsWithDynamicConsent/AjaxCallActionsWithDynamicConsent.csproj index cd9e5090b..a9cd02a6b 100644 --- a/tests/DevApps/AjaxCallActionsWithDynamicConsent/AjaxCallActionsWithDynamicConsent.csproj +++ b/tests/DevApps/AjaxCallActionsWithDynamicConsent/AjaxCallActionsWithDynamicConsent.csproj @@ -1,7 +1,7 @@ - + - NU1605 + $(NoWarn);NETSDK1138;NU1605 diff --git a/tests/DevApps/Directory.Build.props b/tests/DevApps/Directory.Build.props index 586341788..34358a175 100644 --- a/tests/DevApps/Directory.Build.props +++ b/tests/DevApps/Directory.Build.props @@ -1,7 +1,7 @@ - net6.0; net7.0; net8.0; net9.0 + net6.0; net8.0; net9.0 $(TargetFrameworks); true false @@ -13,11 +13,6 @@ 6.0.0 - - - 7.0.0 - - 8.0.0 diff --git a/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config b/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config index a2957522a..3754f7411 100644 --- a/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config +++ b/tests/DevApps/aspnet-mvc/OwinWebApi/Web.config @@ -34,7 +34,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -86,23 +86,23 @@ - + - + - + - + - + diff --git a/tests/DevApps/daemon-app/Daemon-app/Daemon-app.csproj b/tests/DevApps/daemon-app/Daemon-app/Daemon-app.csproj index 58f740ae8..bcb6cf51b 100644 --- a/tests/DevApps/daemon-app/Daemon-app/Daemon-app.csproj +++ b/tests/DevApps/daemon-app/Daemon-app/Daemon-app.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 Daemon_app enable enable diff --git a/tests/DevApps/daemon-app/daemon-console-calling-downstreamApi/DaemonConsoleCallingDownstreamApi.csproj b/tests/DevApps/daemon-app/daemon-console-calling-downstreamApi/DaemonConsoleCallingDownstreamApi.csproj index 5c41d19cf..5a3a5d0d6 100644 --- a/tests/DevApps/daemon-app/daemon-console-calling-downstreamApi/DaemonConsoleCallingDownstreamApi.csproj +++ b/tests/DevApps/daemon-app/daemon-console-calling-downstreamApi/DaemonConsoleCallingDownstreamApi.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable true diff --git a/tests/DevApps/daemon-app/daemon-console-calling-msgraph/DaemonConsoleCallingMsGraph.csproj b/tests/DevApps/daemon-app/daemon-console-calling-msgraph/DaemonConsoleCallingMsGraph.csproj index 090f3e251..13e27f68d 100644 --- a/tests/DevApps/daemon-app/daemon-console-calling-msgraph/DaemonConsoleCallingMsGraph.csproj +++ b/tests/DevApps/daemon-app/daemon-console-calling-msgraph/DaemonConsoleCallingMsGraph.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 12d39412f..5010a18e7 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -2,7 +2,7 @@ false - net6.0; net7.0; net8.0; net9.0; net462; net472 + net6.0; net8.0; net9.0; net462; net472 $(TargetFrameworks); True false diff --git a/tests/E2E Tests/GraphServiceClientTests/GraphServiceClientTests.csproj b/tests/E2E Tests/GraphServiceClientTests/GraphServiceClientTests.csproj index 391086481..9d2b3e325 100644 --- a/tests/E2E Tests/GraphServiceClientTests/GraphServiceClientTests.csproj +++ b/tests/E2E Tests/GraphServiceClientTests/GraphServiceClientTests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 ../../../build/MSAL.snk diff --git a/tests/E2E Tests/IntegrationTestService/IntegrationTestService.csproj b/tests/E2E Tests/IntegrationTestService/IntegrationTestService.csproj index 595bad647..7eab918c0 100644 --- a/tests/E2E Tests/IntegrationTestService/IntegrationTestService.csproj +++ b/tests/E2E Tests/IntegrationTestService/IntegrationTestService.csproj @@ -1,7 +1,7 @@ - net6.0; net7.0; net8.0; net9.0 + net6.0; net8.0; net9.0 $(TargetFrameworks); false true diff --git a/tests/E2E Tests/NET 7 tests/IntegrationTests/IntegrationTests.csproj b/tests/E2E Tests/NET 7 tests/IntegrationTests/IntegrationTests.csproj index 880c5cbe7..d4be3bbc2 100644 --- a/tests/E2E Tests/NET 7 tests/IntegrationTests/IntegrationTests.csproj +++ b/tests/E2E Tests/NET 7 tests/IntegrationTests/IntegrationTests.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable ../../../../build/MSAL.snk diff --git a/tests/E2E Tests/NET 7 tests/WebApp/WebApp.csproj b/tests/E2E Tests/NET 7 tests/WebApp/WebApp.csproj index 33d6ce48e..1e539ac5d 100644 --- a/tests/E2E Tests/NET 7 tests/WebApp/WebApp.csproj +++ b/tests/E2E Tests/NET 7 tests/WebApp/WebApp.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable ../../../../build/MSAL.snk diff --git a/tests/E2E Tests/SimulateOidc/SimulateOidc.csproj b/tests/E2E Tests/SimulateOidc/SimulateOidc.csproj index a9ac36168..c1d3ed2cf 100644 --- a/tests/E2E Tests/SimulateOidc/SimulateOidc.csproj +++ b/tests/E2E Tests/SimulateOidc/SimulateOidc.csproj @@ -1,7 +1,7 @@ - net6.0; net7.0; net8.0 + net6.0; net8.0 enable enable ../../../build/MSAL.snk diff --git a/tests/E2E Tests/TokenAcquirerTests/TokenAcquirerTests.csproj b/tests/E2E Tests/TokenAcquirerTests/TokenAcquirerTests.csproj index f9480ffeb..110091f06 100644 --- a/tests/E2E Tests/TokenAcquirerTests/TokenAcquirerTests.csproj +++ b/tests/E2E Tests/TokenAcquirerTests/TokenAcquirerTests.csproj @@ -1,7 +1,7 @@ - net7.0; net8.0; net9.0 + net8.0; net9.0 $(TargetFrameworks); ../../../build/MSAL.snk diff --git a/tests/Microsoft.Identity.Web.Test.Common/Microsoft.Identity.Web.Test.Common.csproj b/tests/Microsoft.Identity.Web.Test.Common/Microsoft.Identity.Web.Test.Common.csproj index b7719c606..455926183 100644 --- a/tests/Microsoft.Identity.Web.Test.Common/Microsoft.Identity.Web.Test.Common.csproj +++ b/tests/Microsoft.Identity.Web.Test.Common/Microsoft.Identity.Web.Test.Common.csproj @@ -1,7 +1,7 @@ - net462; net472; net6.0; net7.0; net8.0; net9.0 + net462; net472; net6.0; net8.0; net9.0 $(TargetFrameworks); false true diff --git a/tests/Microsoft.Identity.Web.Test.Integration/Microsoft.Identity.Web.Test.Integration.csproj b/tests/Microsoft.Identity.Web.Test.Integration/Microsoft.Identity.Web.Test.Integration.csproj index f98235164..f8e5f7cbc 100644 --- a/tests/Microsoft.Identity.Web.Test.Integration/Microsoft.Identity.Web.Test.Integration.csproj +++ b/tests/Microsoft.Identity.Web.Test.Integration/Microsoft.Identity.Web.Test.Integration.csproj @@ -1,7 +1,7 @@ - net6.0; net7.0; net8.0; net9.0 + net6.0; net8.0; net9.0 $(TargetFrameworks); false diff --git a/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Benchmark/Microsoft.Identity.Web.Perf.Benchmark.csproj b/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Benchmark/Microsoft.Identity.Web.Perf.Benchmark.csproj index c7e7f3109..f0ca525b3 100644 --- a/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Benchmark/Microsoft.Identity.Web.Perf.Benchmark.csproj +++ b/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Benchmark/Microsoft.Identity.Web.Perf.Benchmark.csproj @@ -2,7 +2,7 @@ Exe - net6.0; net7.0; net8.0; net9.0 + net6.0; net8.0; net9.0 $(TargetFrameworks); ..\..\..\.sonarlint\azuread_microsoft-identity-webcsharp.ruleset ../../../build/MSAL.snk diff --git a/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Client/Microsoft.Identity.Web.Perf.Client.csproj b/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Client/Microsoft.Identity.Web.Perf.Client.csproj index 4b13b012f..32b2392a1 100644 --- a/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Client/Microsoft.Identity.Web.Perf.Client.csproj +++ b/tests/PerformanceTests/Microsoft.Identity.Web.Perf.Client/Microsoft.Identity.Web.Perf.Client.csproj @@ -2,7 +2,7 @@ Exe - net6.0; net7.0; net8.0; net9.0 + net6.0; net8.0; net9.0 $(TargetFrameworks); ..\..\..\.sonarlint\azuread_microsoft-identity-webcsharp.ruleset ../../../build/MSAL.snk diff --git a/tests/PerformanceTests/PerformanceTestService/PerformanceTestService.csproj b/tests/PerformanceTests/PerformanceTestService/PerformanceTestService.csproj index e0b10c81e..a68f6838e 100644 --- a/tests/PerformanceTests/PerformanceTestService/PerformanceTestService.csproj +++ b/tests/PerformanceTests/PerformanceTestService/PerformanceTestService.csproj @@ -1,7 +1,7 @@ - + - net6.0; net7.0; net8.0 + net6.0; net8.0 false true ../../../build/MSAL.snk diff --git a/tools/ConfigureGeneratedApplications/ConfigureGeneratedApplications.csproj b/tools/ConfigureGeneratedApplications/ConfigureGeneratedApplications.csproj index fefd33e36..84399a8cd 100644 --- a/tools/ConfigureGeneratedApplications/ConfigureGeneratedApplications.csproj +++ b/tools/ConfigureGeneratedApplications/ConfigureGeneratedApplications.csproj @@ -1,8 +1,8 @@ - + Exe - net7.0 + net8.0 disable False false