在IIS部署Silverlight应用和WCF RIA Services,出现异常:未能加载文件或程序集“System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。
Could not load file or assembly 'System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
只需拷贝开发机以下文件到网站bin目录即可:

本文详细介绍了在使用IIS部署Silverlight应用和WCFRIAServices时遇到的异常问题,即无法加载特定文件或程序集。解决方案在于将开发机上必要的文件复制到网站的bin目录下,从而解决系统找不到指定文件的问题。
2150





