问题
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