Compiler construction resx文件编译器出现问题错误消息:CS0101
在.NET应用程序中,我有四个不同名称的resx文件 uTranslation.ba-Latn-ba.resx uTranslation.hr-hr.resx UITranslation.resx UITranslation.sr-Cyrl-BA.resx 解决方案已在Windows server 2003 Service pack 1上发布。从iis浏览后,我出现以下错误: 第24行:[全局::System.Diagnostics.DebuggerNonUserCodeAttribute()] 第25行:[全局::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 第26行:公共类翻译{ 第27行:Compiler construction resx文件编译器出现问题错误消息:CS0101,compiler-construction,message,Compiler Construction,Message,在.NET应用程序中,我有四个不同名称的resx文件 uTranslation.ba-Latn-ba.resx uTranslation.hr-hr.resx UITranslation.resx UITranslation.sr-Cyrl-BA.resx 解决方案已在Windows server 2003 Service pack 1上发布。从iis浏览后,我出现以下错误: 第24行:[全局::System.Diagnostics.DebuggerNonUserCodeAttribute()]
第28行:私有静态全局::System.Resources.ResourceManager resourceMan 如果文件重命名为: u翻译1.ba-Latn-ba.resx u翻译2.hr-hr.resx UITranslation3.resx UITranslation.sr-Cyrl-BA.resx 一切都很有效
文件在第一种情况下应命名为。问题不在应用程序或其部署过程中。不幸的是,问题在于Windows Server 2003 SP 1系统。要解决此问题,您需要从SP 1升级到SP 2