Fixed common resources resx.

This commit is contained in:
N. Taylor Mullen 2014-02-10 11:57:49 -08:00
parent d85927166b
commit ff80c86e0c
1 changed files with 1 additions and 5 deletions

View File

@ -45,11 +45,7 @@ namespace Microsoft.Internal.Web.Utils
{
if (object.ReferenceEquals(resourceMan, null))
{
#if NET45
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Razor.Common.CommonResources", typeof(CommonResources).Assembly);
#else
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Razor.Common.CommonResources", typeof(CommonResources).GetTypeInfo().Assembly);
#endif
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Razor.CommonResources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(CommonResources)).Assembly);
resourceMan = temp;
}
return resourceMan;