From 15e8f24f27a9cc02f7577f11cf5adb94d0787dda Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Mon, 16 Sep 2024 17:23:55 -0300 Subject: [PATCH] Remove in-place editing support for templates It was never used anyway. --- src/Directory.targets | 2 +- src/Shared/EmbeddedResource.cs | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Directory.targets b/src/Directory.targets index d2a8362b..ee17dd32 100644 --- a/src/Directory.targets +++ b/src/Directory.targets @@ -12,7 +12,7 @@ - + diff --git a/src/Shared/EmbeddedResource.cs b/src/Shared/EmbeddedResource.cs index 985fddff..010623f5 100644 --- a/src/Shared/EmbeddedResource.cs +++ b/src/Shared/EmbeddedResource.cs @@ -40,12 +40,6 @@ public static byte[] GetBytes(string relativePath) /// public static Stream GetStream(string relativePath) { -#if DEBUG - var filePath = Path.Combine(baseDir, Path.GetFileName(relativePath)); - if (File.Exists(filePath)) - return File.OpenRead(filePath); -#endif - var baseName = Assembly.GetExecutingAssembly().GetName().Name; var resourceName = relativePath .TrimStart('.')