From 5c75190c6d2ad7a13037d224d9378f908a702b68 Mon Sep 17 00:00:00 2001 From: Gladwin Johnson <90415114+gladjohn@users.noreply.github.com> Date: Fri, 7 Jul 2023 12:03:12 -0700 Subject: [PATCH] Remove INCLUDE_MOBILE_AND_LEGACY_TFM from Perf builds (#4214) * Update pipeline-perf-tests-automation.yaml * Update csproj --------- Co-authored-by: pmaytak <34331512+pmaytak@users.noreply.github.com> --- build/pipeline-perf-tests-automation.yaml | 3 +-- .../Microsoft.Identity.Client.Broker.csproj | 2 +- .../Microsoft.Identity.Client.csproj | 4 +--- tests/devapps/WAM/UWPWam/MainPage.xaml.cs | 1 - 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/build/pipeline-perf-tests-automation.yaml b/build/pipeline-perf-tests-automation.yaml index aa02e13367..310c298503 100644 --- a/build/pipeline-perf-tests-automation.yaml +++ b/build/pipeline-perf-tests-automation.yaml @@ -16,7 +16,6 @@ pool: variables: BuildPlatform: 'any cpu' BuildConfiguration: 'release' - INCLUDE_MOBILE_AND_LEGACY_TFM: 'true' # skips building mobile and legacy targets jobs: - job: 'BuildJob' @@ -49,7 +48,7 @@ jobs: msbuildArchitecture: x64 platform: '$(BuildPlatform)' configuration: '$(BuildConfiguration)' - msbuildArguments: '/p:RunCodeAnalysis=false /p:INCLUDE_MOBILE_AND_LEGACY_TFM =$(INCLUDE_MOBILE_AND_LEGACY_TFM )' + msbuildArguments: '/p:RunCodeAnalysis=false' clean: true # The parameters currently are not used, but can be uploaded into the reporting system in the future. diff --git a/src/client/Microsoft.Identity.Client.Broker/Microsoft.Identity.Client.Broker.csproj b/src/client/Microsoft.Identity.Client.Broker/Microsoft.Identity.Client.Broker.csproj index 81e8c7c149..8972cf962d 100644 --- a/src/client/Microsoft.Identity.Client.Broker/Microsoft.Identity.Client.Broker.csproj +++ b/src/client/Microsoft.Identity.Client.Broker/Microsoft.Identity.Client.Broker.csproj @@ -2,7 +2,7 @@ netstandard2.0 - net461 + net461 8.0 AnyCPU diff --git a/src/client/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj b/src/client/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj index b07673068c..5a42d6799d 100644 --- a/src/client/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj +++ b/src/client/Microsoft.Identity.Client/Microsoft.Identity.Client.csproj @@ -1,7 +1,5 @@ - - net461 netcoreapp2.1 @@ -297,7 +295,7 @@ - + diff --git a/tests/devapps/WAM/UWPWam/MainPage.xaml.cs b/tests/devapps/WAM/UWPWam/MainPage.xaml.cs index 97b4cfdf1c..fe2a247be6 100644 --- a/tests/devapps/WAM/UWPWam/MainPage.xaml.cs +++ b/tests/devapps/WAM/UWPWam/MainPage.xaml.cs @@ -17,7 +17,6 @@ // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 namespace UWP_standalone { -#pragma warning disable CS0618 // Type or member is obsolete /// /// An empty page that can be used on its own or navigated to within a Frame. ///