From 0203fd5ffc6404154d1bfa1fcb006d1f6c71bc6c Mon Sep 17 00:00:00 2001
From: Copilot <223556219+Copilot@users.noreply.github.com>
Date: Mon, 1 Jun 2026 16:44:07 -0400
Subject: [PATCH 1/2] Produce TemplateLocator package in product build
Schedule Microsoft.DotNet.TemplateLocator as a pass-2 product build project and restore the historical NuGet package ID so official builds can pack and publish microsoft.dotnet.templateLocator again.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
eng/Build.props | 3 ++-
.../Microsoft.DotNet.TemplateLocator.csproj | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/eng/Build.props b/eng/Build.props
index 9c20ef3cf4a5..25737d3a05c5 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -4,13 +4,14 @@
-
+
diff --git a/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj b/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj
index f1fe1cb57575..442a81d66842 100644
--- a/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj
+++ b/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj
@@ -8,6 +8,7 @@
MicrosoftAspNetCore
true
false
+ microsoft.dotnet.templateLocator
true
From d380e05492121c8f0fe20e419d3a7efe46fb672d Mon Sep 17 00:00:00 2001
From: Emanuel Fernandez Dell'Oca
Date: Tue, 2 Jun 2026 15:58:58 -0400
Subject: [PATCH 2/2] Remove explicit TemplateLocator package ID
The default SDK pack identity already matches the project name, so keep the project file simpler while still producing the standalone TemplateLocator package in pass 2.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
.../Microsoft.DotNet.TemplateLocator.csproj | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj b/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj
index 442a81d66842..f1fe1cb57575 100644
--- a/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj
+++ b/src/Microsoft.DotNet.TemplateLocator/Microsoft.DotNet.TemplateLocator.csproj
@@ -8,7 +8,6 @@
MicrosoftAspNetCore
true
false
- microsoft.dotnet.templateLocator
true