WCF Ria 服务程序集问题
我对 WCF Ria 服务库有问题。我希望我的项目在所有外部引用的程序集所在的 Lib 文件夹中本地使用 RIA 服务的程序集。我不想依赖服务的安装。在我看来,以后更新服务会更好。
我找到了我的应用程序引用的程序集,将它们放入我的 lib 文件夹中,然后从我的 csproj 中删除了引用,并将其更改为我的 lib 文件夹中的程序集。问题在于,在更改的引用的属性窗口中,它没有更改文件的位置。我试图改变它几次,但改变后它显示
“C:\Program Files (x86)\Microsoft SDK\RIA Services\v1.0\Libraries\Silverlight\System.ServiceModel.DomainServices.Client.dll",
但我将路径更改为
“D:\Work\MyProj\Libs\System.ServiceModel.DomainServices.Client.dll”
为什么会发生这种情况?
I have problem with WCF Ria Services libraries. I want my project to use assemblies of RIA Services locally in my Lib folder where all external referenced assemblies are. I don't want to be dependent on installation of the services. And in my opinion it is better for later updates of the services.
I've found assemblies that my app is referenced to, put them in my lib folder, then deleted references from my csproj, and changed it to the assembly in my lib folder. The problem is that in properties window of the changed reference it did't change the location to file. I tried to change it several times but after change it shows
"C:\Program Files (x86)\Microsoft
SDKs\RIA
Services\v1.0\Libraries\Silverlight\System.ServiceModel.DomainServices.Client.dll",
but I changed the path to
"D:\Work\MyProj\Libs\System.ServiceModel.DomainServices.Client.dll"
Why this is happening?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您打开 .csproj 文件,以便可以看到 XML(卸载项目并单击“编辑”)。
对于 WCF RIA dll 的引用,请检查您是否拥有放置 dll 的位置。
当您确保 dll 的路径是您想要重新加载项目的位置时。在参考文献中突出显示其中一个 dll,并查看其属性中的位置,它应该一致。
If you open up your .csproj file so that you can see the XML (unload the project and click on edit).
For the references to the WCF RIA dlls check that you have a to where you have placed the dlls.
When you have ensured that the paths to the dlls are where you want reload the project. In the references highlight one of the dlls and look at the location in its properties, it should agree.