I have a SL app that has been working fine with CSLA 4.2.2.0 which I updated to use 4.5.10 and now the service no longer works. I get the 'The type 'Csla.Server.Hosts.Silverlight.WcfPortal', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.' error.
No other changes were made other than the references to the updated version of CSLA. I have confirmed several times that all references have been updated to 4.5.10. My project is built on .NET 4 though I'd like to update this as well to .NET4.5.
In version 4.2.0, my reference was to the /Client/Csla.dll while in 4.5.4 and 4.5.30, I am referencing /Net/Csla.dll. Is this an issue? There are no longer a /Server and /Client folders.
Any help is greatly appreciated.
I figured out what was happening with a hint from a post from Rocky (http://forums.lhotka.net/forums/p/11456/53142.aspx#53142). This breaking change has been added and I wasn't aware.
So, in my .svc file, a change was required:
ServiceHost Service="Csla.Server.Hosts.Silverlight.WcfPortal" has been changed to
ServiceHost Service="Csla.Server.Hosts.WcfPortal"
Copyright (c) Marimer LLC