http://stackoverflow.com/questions/22016374/could-not-load-type-servicestack-servicehost-iservice-when-starting-servicesta
Could not load type 'ServiceStack.ServiceHost.IService'
I get the above error when calling Init() on my AppHost.
Checked the DLL and found that all versions are not consistent, so I followed the suggestions in the above link.
- Remove all the references from your project.
- Remove the
packages.config
.(only lines with servicestack) - Check the project target is .NET 4.5.
- Clean the project.
- Then re-run the NuGet command.
And fixed it.
No comments:
Post a Comment