diff --git a/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj b/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj
index a51b3e6b1b619..be90c1c8c370c 100644
--- a/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj
+++ b/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.pkgproj
@@ -15,5 +15,29 @@
+
+ Microsoft.NET.Sdk.IL.targets.template
+ $(IntermediateOutputPath)Microsoft.NET.Sdk.IL.targets
+
+
+
+
+
+
+
+
+
+
+ targets
+
+
+
+
diff --git a/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets b/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.targets.template
similarity index 99%
rename from src/coreclr/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets
rename to src/coreclr/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.targets.template
index 9206ec89a97b4..ebb865af5582e 100644
--- a/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets
+++ b/src/coreclr/.nuget/Microsoft.NET.Sdk.IL/Microsoft.NET.Sdk.IL.targets.template
@@ -28,7 +28,7 @@ Copyright (c) .NET Foundation. All rights reserved.
$(NETCoreSdkPortableRuntimeIdentifier)
- 6.0.0
+ ${IlAsmVersion}
runtime.$(MicrosoftNetCoreIlasmPackageRuntimeId).microsoft.netcore.ilasm
runtime.$(MicrosoftNetCoreIlasmPackageRuntimeId).microsoft.netcore.ildasm