From 0121106933860eb812ebbe70dd9533f4865dc385 Mon Sep 17 00:00:00 2001 From: James South Date: Thu, 26 Jun 2014 13:57:03 +0100 Subject: [PATCH] Fixing embedded resource reference Former-commit-id: c735cd18a0a6f6b73bc98bcae1c32cd6e04cbd38 --- .../NET45/Configuration/ImageCacheSection.cs | 2 +- .../NET45/Configuration/ImageProcessingSection.cs | 2 +- .../NET45/Configuration/ImageSecuritySection.cs | 2 +- src/TestWebsites/NET45/Test_Website_NET45/Web.config | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ImageProcessor.Web/NET45/Configuration/ImageCacheSection.cs b/src/ImageProcessor.Web/NET45/Configuration/ImageCacheSection.cs index 04a550729..8e5abad95 100644 --- a/src/ImageProcessor.Web/NET45/Configuration/ImageCacheSection.cs +++ b/src/ImageProcessor.Web/NET45/Configuration/ImageCacheSection.cs @@ -79,7 +79,7 @@ namespace ImageProcessor.Web.Configuration return imageCacheSection; } - string section = ResourceHelpers.ResourceAsString("ImageProcessor.Web.Config.Resources.cache.config"); + string section = ResourceHelpers.ResourceAsString("ImageProcessor.Web.Configuration.Resources.cache.config"); XmlReader reader = new XmlTextReader(new StringReader(section)); imageCacheSection = new ImageCacheSection(); imageCacheSection.DeserializeSection(reader); diff --git a/src/ImageProcessor.Web/NET45/Configuration/ImageProcessingSection.cs b/src/ImageProcessor.Web/NET45/Configuration/ImageProcessingSection.cs index 3332080b9..23f8bc9ca 100644 --- a/src/ImageProcessor.Web/NET45/Configuration/ImageProcessingSection.cs +++ b/src/ImageProcessor.Web/NET45/Configuration/ImageProcessingSection.cs @@ -83,7 +83,7 @@ namespace ImageProcessor.Web.Configuration return imageProcessingSection; } - string section = ResourceHelpers.ResourceAsString("ImageProcessor.Web.Config.Resources.processing.config"); + string section = ResourceHelpers.ResourceAsString("ImageProcessor.Web.Configuration.Resources.processing.config"); XmlReader reader = new XmlTextReader(new StringReader(section)); imageProcessingSection = new ImageProcessingSection(); imageProcessingSection.DeserializeSection(reader); diff --git a/src/ImageProcessor.Web/NET45/Configuration/ImageSecuritySection.cs b/src/ImageProcessor.Web/NET45/Configuration/ImageSecuritySection.cs index 29079fdc2..c58b07579 100644 --- a/src/ImageProcessor.Web/NET45/Configuration/ImageSecuritySection.cs +++ b/src/ImageProcessor.Web/NET45/Configuration/ImageSecuritySection.cs @@ -116,7 +116,7 @@ namespace ImageProcessor.Web.Configuration return imageSecuritySection; } - string section = ResourceHelpers.ResourceAsString("ImageProcessor.Web.Config.Resources.security.config"); + string section = ResourceHelpers.ResourceAsString("ImageProcessor.Web.Configuration.Resources.security.config"); XmlReader reader = new XmlTextReader(new StringReader(section)); imageSecuritySection = new ImageSecuritySection(); imageSecuritySection.DeserializeSection(reader); diff --git a/src/TestWebsites/NET45/Test_Website_NET45/Web.config b/src/TestWebsites/NET45/Test_Website_NET45/Web.config index 7f87cedd1..1b2a7cfde 100644 --- a/src/TestWebsites/NET45/Test_Website_NET45/Web.config +++ b/src/TestWebsites/NET45/Test_Website_NET45/Web.config @@ -6,17 +6,17 @@ - + - +