diff --git a/setup/files.swr b/setup/files.swr
index 6af9c760208..f99d202839d 100644
--- a/setup/files.swr
+++ b/setup/files.swr
@@ -17,6 +17,7 @@ folder InstallDir:\MSBuild\15.0\Bin
file source=$(X86BinPath)System.Threading.Tasks.Dataflow.dll vs.file.ngen=yes
file source=$(X86BinPath)System.Collections.Immutable.dll vs.file.ngen=yes
file source=$(X86BinPath)Microsoft.Common.CurrentVersion.targets
+ file source=$(X86BinPath)Microsoft.Common.CrossTargeting.targets
file source=$(X86BinPath)Microsoft.Common.overridetasks
file source=$(X86BinPath)Microsoft.Common.targets
file source=$(X86BinPath)Microsoft.Common.tasks
@@ -135,6 +136,7 @@ folder InstallDir:\MSBuild\15.0\Bin\amd64
file source=$(X86BinPath)System.Threading.Tasks.Dataflow.dll vs.file.ngen=yes
file source=$(X86BinPath)System.Collections.Immutable.dll vs.file.ngen=yes
file source=$(X86BinPath)Microsoft.Common.CurrentVersion.targets
+ file source=$(X86BinPath)Microsoft.Common.CrossTargeting.targets
file source=$(X86BinPath)Microsoft.Common.overridetasks
file source=$(X86BinPath)Microsoft.Common.targets
file source=$(X86BinPath)Microsoft.Common.tasks
diff --git a/src/XMakeTasks/Microsoft.Build.Tasks.csproj b/src/XMakeTasks/Microsoft.Build.Tasks.csproj
index 94c6b30f34b..f7985dc33b0 100644
--- a/src/XMakeTasks/Microsoft.Build.Tasks.csproj
+++ b/src/XMakeTasks/Microsoft.Build.Tasks.csproj
@@ -721,6 +721,10 @@
PreserveNewest
+
+ PreserveNewest
+ Designer
+
PreserveNewest
@@ -821,6 +825,9 @@
Designer
+
+ Designer
+
diff --git a/src/XMakeTasks/Microsoft.CSharp.targets b/src/XMakeTasks/Microsoft.CSharp.targets
index 74fe11deedf..c824b0c487b 100644
--- a/src/XMakeTasks/Microsoft.CSharp.targets
+++ b/src/XMakeTasks/Microsoft.CSharp.targets
@@ -17,6 +17,15 @@ Copyright (C) Microsoft Corporation. All rights reserved.
+
+ true
+
+
+
+
+
+
+
diff --git a/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets b/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets
index 33fa35a9f7d..94b6a0a1486 100644
--- a/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets
+++ b/src/XMakeTasks/Microsoft.Common.CurrentVersion.targets
@@ -884,12 +884,12 @@ Copyright (C) Microsoft Corporation. All rights reserved.
-
+
@@ -909,12 +909,12 @@ Copyright (C) Microsoft Corporation. All rights reserved.
-
+
@@ -934,12 +934,12 @@ Copyright (C) Microsoft Corporation. All rights reserved.
-
+
@@ -1487,6 +1487,81 @@ Copyright (C) Microsoft Corporation. All rights reserved.
+
+
+
+
+
+
+
+
+ <_MSBuildProjectReferenceExistent Condition="'%(_MSBuildProjectReferenceExistent.Identity)' == '%(Identity)'">
+ $(_ProjectReferenceTargetFrameworkProperties)
+
+
+
+
+ <_ProjectReferenceTargetFrameworkProperties />
+
+
+
+
+
+
+
+
+
+ AssignProjectConfiguration;
+ _SplitProjectReferencesByFileExistence;
+ _GetProjectReferenceTargetFrameworkProperties
+
+
+
+
+ DependsOnTargets="PrepareProjectReferences">
+
+ true
+
+
+