Castle remoting facility not working

跟風遠走 提交于 2019-12-12 01:35:10

问题


Does remoting facility still work in castle?

i downloaded sample from http://www.castleproject.org/container/facilities/trunk/remoting/usingit.html changed project to target 4.0 of framework.

Then I deleted references to castle in both client and server projects and then added references to Castle.Core and Castle.Windsor dlls from castles "bin-dotNet40" folder.

When I run the server I get the follwoing exception: Could not convert from 'Castle.Facilities.Remoting.RemotingFacility, Castle.MicroKernel' to System.Type - Maybe type could not be found

thanks for responses


回答1:


Castle.MicroKernel.dll is no more (it was merged into Castle.Windsor.dll), so the correct fully qualified type name is now Castle.Facilities.Remoting.RemotingFacility, Castle.Windsor



来源:https://stackoverflow.com/questions/4547884/castle-remoting-facility-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!