2010-08-30 123 views
0

我有两个解决方案,一个名为Server的解决方案和一个名为Client的解决方案。该服务器包含一个名为Server.Properties.Resources的资源文件。该文件作为外部文件被添加到客户端解决方案中。资源文件在解决方案之间作为外部文件共享

当我在Visual Studio内部调试时,一切都运行良好。当我运行部署的版本,我得到的错误

System.Resources.MissingManifestResourceException: 
Could not find any resources appropriate for the specified culture or the neutral culture. 
Make sure "Aexeo.DataLayer.Properties.Resources.resources" was correctly embedded or 
linked into assembly "Core" at compile time, or that all the satellite assemblies required 
are loadable and fully signed. 

有没有解决这个办法,保持外部文件链接的使用情况如何?

回答

0

我想,这是你在寻找什么:当你手动创建附属程序

http://support.microsoft.com/kb/839861

的问题引起的。卫星组件的命名方式应该可以自动从应用程序中调用。要解决此问题,您可以使用汇编链接程序al.exe将程序集正确链接到应用程序。

+0

谢谢!这正是我所需要的。 – Armbrat 2010-08-30 21:38:23

+0

最欢迎我的朋友。 – abhishek 2010-08-31 09:25:17