summaryrefslogtreecommitdiffstats
path: root/tools/Sandcastle/Source/CCI/ExceptionStrings.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-11 21:16:19 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-11 21:16:19 -0700
commit6c29eba4701e48222941981d499eb08686788a22 (patch)
tree5e8d9e3b9cc175d3b4e7f214e31d6b0e235467cb /tools/Sandcastle/Source/CCI/ExceptionStrings.cs
parent4cc2523e6f2c2f9975d3328ae983cc509c449315 (diff)
downloadDotNetOpenAuth-6c29eba4701e48222941981d499eb08686788a22.zip
DotNetOpenAuth-6c29eba4701e48222941981d499eb08686788a22.tar.gz
DotNetOpenAuth-6c29eba4701e48222941981d499eb08686788a22.tar.bz2
Upgraded to Sandcastle June 2010 release (changeset 54478).
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;