diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets
index 752a08c33afe..8a9dc347f9c9 100644
--- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets
+++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets
@@ -61,8 +61,33 @@ Copyright (c) .NET Foundation. All rights reserved.
win7-x86
+
+
+ <_OriginalSelfContainedValue>$(SelfContained)
+
+
+
+
+
+
+
+ <_SelfContainedIsGlobal>true
+
+
+
+
+ <_SelfContainedIsGlobal>false
+
+
+
+
+
+ $(OriginalSelfContainedValue)
+ <_OriginalSelfContainedValue>
+
+
-
+
<_PublishSelfContainedIsActive>true