Fixed common resources resx.
This commit is contained in:
parent
d85927166b
commit
ff80c86e0c
|
|
@ -45,11 +45,7 @@ namespace Microsoft.Internal.Web.Utils
|
||||||
{
|
{
|
||||||
if (object.ReferenceEquals(resourceMan, null))
|
if (object.ReferenceEquals(resourceMan, null))
|
||||||
{
|
{
|
||||||
#if NET45
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Razor.CommonResources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(CommonResources)).Assembly);
|
||||||
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
|
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
return resourceMan;
|
return resourceMan;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue