资源文件找不到 Could not find any resources appropriate for the specified culture or the neutral culture.
来源:互联网 发布:中国电信oa软件 编辑:程序博客网 时间:2024/06/01 07:59
错误:
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Strings.resources" was correctly embedded or linked into assembly "XXX" at compile time, or that all the satellite assemblies required are loadable and fully signed.
例如我们有一个Strings.resx作为embed resource.
在vs 2010里可以用如下代码读取资源文件:
rm = new ResourceManager("Strings", Assembly.GetExecutingAssembly() );
但是在之前版本有可能会不行,我在vs2008下不行,找了找原因现记录下来:
MyApplication.MyClass是当前类的命名空间
rm = new ResourceManager("MyApplication.MyClass.Strings", Assembly.GetExecutingAssembly() );
it works now!
- 资源文件找不到 Could not find any resources appropriate for the specified culture or the neutral culture.
- Could not load file or assembly 'vjscor, Version=2.0.0.0, Culture=neutral, 问题解决方法
- Could not find any information for the class named ....
- .NET Web 执行错误Could not load type '...' from assembly '..., Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because the me
- Set the Culture and UI Culture for C# Globalization
- Could not load file or assembly 'AjaxControlToolkit, Version=3.0.11119.25533, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'
- "Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- Could not load file or assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyTok
- Could not load file or assembly 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, Public
- Could not load file or assembly 'ESRI.ArcGIS.SOESupport, Version=10.1.0.0, Culture=neutral, PublicKe
- Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5
- OAF Could not find the specified responsibility.
- Cornerstone--could not find the specified file
- Could not load file or assembly 'App_Web_xxxx' or one of its dependencies. The system cannot find the file specified.
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Asp.Net 关于Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e94
- cisco SSH 配置示例及详解
- Juniper设备标准配置
- perl-cookie实例(亲测成功)
- 什么是CURL,PHP与CURL
- Android NDK Stable APIs
- 资源文件找不到 Could not find any resources appropriate for the specified culture or the neutral culture.
- linux 下重要C函数集合
- 一些笔记
- 专辑:企业应用相关知识与技能领域与若干角色分析
- JQuery Progress Bar 功能介绍
- MySQL缓存优化模块 Flashcache
- jdk环境变量胡配置
- 料號升級,工時資料複製作業
- 透过现象看问题Cisco交换机状态灯全解