From e02ccebf754d200c2df8fe7b2b8c0d7b6a6d4930 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Mon, 24 May 2021 14:39:06 +0100 Subject: [PATCH] No need for a specific namespace replacer it seems sourceName prop is used for that --- .../UmbracoProject/.template.config/template.json | 12 +----------- build/templates/UmbracoProject/UmbracoProject.csproj | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/build/templates/UmbracoProject/.template.config/template.json b/build/templates/UmbracoProject/.template.config/template.json index ff4cdfd54c..4f2454706d 100644 --- a/build/templates/UmbracoProject/.template.config/template.json +++ b/build/templates/UmbracoProject/.template.config/template.json @@ -29,7 +29,7 @@ "continueOnError": true } ], - "sourceName": "UmbracoProject", + "sourceName": "Umbraco.Cms.Web.UI.NetCore", "symbols": { "version": { "type": "parameter", @@ -38,16 +38,6 @@ "description": "The version of Umbraco to load using NuGet", "replaces": "UMBRACO_VERSION_FROM_TEMPLATE" }, - "namespaceReplacer": { - "type": "generated", - "generator": "coalesce", - "parameters": { - "sourceVariableName": "name", - "defaultValue": "UmbracoProject", - "fallbackVariableName": "name" - }, - "replaces":"Umbraco.Cms.Web.UI.NetCore" - }, "PackageTestSiteName": { "type": "parameter", "datatype":"text", diff --git a/build/templates/UmbracoProject/UmbracoProject.csproj b/build/templates/UmbracoProject/UmbracoProject.csproj index 8702d8d02d..9798a40ff2 100644 --- a/build/templates/UmbracoProject/UmbracoProject.csproj +++ b/build/templates/UmbracoProject/UmbracoProject.csproj @@ -1,7 +1,7 @@ net5.0 - UmbracoProject + Umbraco.Cms.Web.UI.NetCore