From 0fafd4b2a7e23f70a2acdf7bd153c923827403f8 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 23 Mar 2022 09:11:11 -0700 Subject: [PATCH 1/6] Revert "Revert "[release/6.0] Build ProjectTemplates in Source-Build (#40650)" (#40805)" This reverts commit a351c437ac7bc9f9be96de51832608438a7a37df. --- Directory.Build.props | 3 +++ Directory.Build.targets | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 8f0ac5942284..721f099a7734 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -30,6 +30,9 @@ $(MSBuildProjectName.EndsWith('.Test')) OR $(MSBuildProjectName.EndsWith('.FunctionalTest')) ) ">true true + true true true true + Condition="'$(ExcludeFromSourceBuild)' == '' and + '$(DotNetBuildFromSource)' == 'true' and + '$(IsAspNetCoreApp)' != 'true' and + '$(MSBuildProjectName)' != '$(TargetingPackName)' and + '$(IsAnalyzersProject)' != 'true' and + '$(IsProjectTemplateProject)' != 'true'">true From 30755023e32bf0ed31c2a3c4ef0be95180df9f66 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 23 Mar 2022 09:12:21 -0700 Subject: [PATCH 2/6] Update Microsoft.Authentication.WebAssembly.Msal.csproj --- .../src/Microsoft.Authentication.WebAssembly.Msal.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj b/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj index 8ae5d1c43d7b..bf6797e73dd2 100644 --- a/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj +++ b/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj @@ -1,6 +1,6 @@  - + $(DefaultNetCoreTargetFramework) From cf5cb9a827aaf7bc95ad6ec5fac6ca3091d213ce Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 23 Mar 2022 09:12:41 -0700 Subject: [PATCH 3/6] Update Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj --- ...soft.AspNetCore.Components.WebAssembly.Authentication.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj b/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj index 8d6a000d74f0..68304cdcc006 100644 --- a/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj +++ b/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj @@ -1,6 +1,6 @@ - + $(DefaultNetCoreTargetFramework) From 0c1988c0ad006e7b2d58594e3441a10e829b2612 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 23 Mar 2022 12:15:45 -0700 Subject: [PATCH 4/6] Update Microsoft.Authentication.WebAssembly.Msal.csproj --- .../src/Microsoft.Authentication.WebAssembly.Msal.csproj | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj b/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj index bf6797e73dd2..18e971e365d1 100644 --- a/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj +++ b/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj @@ -25,6 +25,7 @@ $(MSBuildThisFileDirectory)Interop\ + CheckForSourceBuild; CompileInterop; IncludeCompileInteropOutput; $(ResolveStaticWebAssetsInputsDependsOn) @@ -91,5 +92,9 @@ - + + + + + From 35c0277f041223672e6547df08995f3cef3523e2 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 23 Mar 2022 12:16:20 -0700 Subject: [PATCH 5/6] Update Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj --- ...t.AspNetCore.Components.WebAssembly.Authentication.csproj | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj b/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj index 68304cdcc006..ea169fd803b9 100644 --- a/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj +++ b/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj @@ -26,6 +26,7 @@ $(MSBuildThisFileDirectory)Interop\ + CheckForSourceBuild; CompileInterop; IncludeCompileInteropOutput; $(ResolveStaticWebAssetsInputsDependsOn) @@ -93,4 +94,8 @@ + + + + From d382171d673a3eb806f62770d8a880ce918dfcc7 Mon Sep 17 00:00:00 2001 From: Will Godbe Date: Thu, 24 Mar 2022 09:18:31 -0700 Subject: [PATCH 6/6] Workaround --- .../src/Microsoft.Authentication.WebAssembly.Msal.csproj | 4 +++- ...ft.AspNetCore.Components.WebAssembly.Authentication.csproj | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj b/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj index 18e971e365d1..1db0368b882c 100644 --- a/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj +++ b/src/Components/WebAssembly/Authentication.Msal/src/Microsoft.Authentication.WebAssembly.Msal.csproj @@ -1,6 +1,6 @@  - + $(DefaultNetCoreTargetFramework) @@ -96,5 +96,7 @@ + + diff --git a/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj b/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj index ea169fd803b9..35c79a73eb8b 100644 --- a/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj +++ b/src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj @@ -1,6 +1,6 @@ - + $(DefaultNetCoreTargetFramework) @@ -98,4 +98,6 @@ + +