From 67e2c911f7538cceb8a9f5f7d72db62d3ca252b8 Mon Sep 17 00:00:00 2001 From: mikkelhm Date: Tue, 9 May 2017 00:26:40 +0200 Subject: [PATCH] Re adds the umbraco.presentation.targets for Umbraco.Web.UI as it handles default transormations for confg files --- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 2 + src/umbraco.presentation.targets | 96 ++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 src/umbraco.presentation.targets diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index 9c34c48c7d..fc7827c591 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -2388,6 +2388,8 @@ xcopy "$(ProjectDir)"..\packages\SqlServerCE.4.0.0.1\x86\*.* "$(TargetDir)x86\" + + diff --git a/src/umbraco.presentation.targets b/src/umbraco.presentation.targets new file mode 100644 index 0000000000..2a33705d6f --- /dev/null +++ b/src/umbraco.presentation.targets @@ -0,0 +1,96 @@ + + + + + + + $(MSBuildStartupDirectory)\..\src\ + + + + + $(SolutionDir) + $(Computername). + + + + $(ProjectDir) + $(WebProjectOutputDir) + $(ProjDir)web.Template.$(ConfigEnvironment)$(Configuration).config + + + + $(ProjDir)web.Template.$(Configuration).config + + + + $(ProjDir) + + + + $(ProjOutputDir)\ + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.Tasks.dll + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.Tasks.dll + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.Tasks.dll + + + + + + + + + + + + @(ConfigFiles) + $(OriginalFileName.Replace("%(ConfigFiles.Extension)",".$(Configuration)%(ConfigFiles.Extension)")) + $(OriginalFileName.Replace("$(ProjDir)", "$(ProjOutputDir)")) + + + + + + + + + + \ No newline at end of file