summaryrefslogtreecommitdiffstats
path: root/tools/Sandcastle/Source/CCI/ExceptionStrings.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Sandcastle/Source/CCI/ExceptionStrings.cs')
-rw-r--r--tools/Sandcastle/Source/CCI/ExceptionStrings.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/tools/Sandcastle/Source/CCI/ExceptionStrings.cs b/tools/Sandcastle/Source/CCI/ExceptionStrings.cs
index cad0038..bf97f4c 100644
--- a/tools/Sandcastle/Source/CCI/ExceptionStrings.cs
+++ b/tools/Sandcastle/Source/CCI/ExceptionStrings.cs
@@ -28,15 +28,13 @@ namespace System.Compiler
System.Resources.ResourceManager rMgr = ExceptionStrings.resMgr.Target as System.Resources.ResourceManager;
if (rMgr == null)
{
-
- rMgr = new System.Resources.ResourceManager("CCI.ExceptionStrings", typeof(ExceptionStrings).Assembly);
- /*
- #if CCINamespace
- rMgr = new System.Resources.ResourceManager("Microsoft.Cci.ExceptionStrings", typeof(ExceptionStrings).Assembly);
- #else
- rMgr = new System.Resources.ResourceManager("System.Compiler.ExceptionStrings", typeof(ExceptionStrings).Assembly);
- #endif
- */
+
+#if STATIC
+ rMgr = new System.Resources.ResourceManager("Microsoft.Cci.System.Compiler.ExceptionStrings", typeof(ExceptionStrings).Assembly);
+#else
+ rMgr = new System.Resources.ResourceManager("CCI.ExceptionStrings", typeof(ExceptionStrings).Assembly);
+#endif
+
ExceptionStrings.resMgr.Target = rMgr;
}
return rMgr;