C#: 未能找到任何适合于指定的区域性或非特定区域性的资源

来源:互联网 发布:如何开好一个淘宝店 编辑:程序博客网 时间:2024/04/30 12:25
        /// <summary>        ///   返回此类使用的缓存 ResourceManager 实例。        /// </summary>        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]        internal static global::System.Resources.ResourceManager ResourceManager {            get {                if (object.ReferenceEquals(resourceMan, null)) {                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("XX.IoDr.XX.Properties.Resources", typeof(Resources).Assembly);                    resourceMan = temp;                }                return resourceMan;            }        }


报错:未能找到任何适合于指定的区域性或非特定区域性的资源。请确保在编译时已将“xxxx.resources”正确嵌入或链接到程序集“xxx”。

解决:

命名控件搞错了。检查构造发现的.