Interesting. I wonder if there is a problem with the NuGet references in v4.0.31.0. After running a “Package-Update” today, I started receiving the following exception:
Method ‘Execute’ in type ‘ServiceStack.Host.ServiceController’ from assembly ‘ServiceStack, Version=4.0.31.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.
The ServiceStack assembly was not updated from the “Update-Package” command. It always worked previously. I’ve never specifically installed ServiceStack into a project alone / without another package (ie ServiceStack.Server, etc.). This was resolved by removing the reference and specifically installing ServiceStack by itself.
Darren Reid:
Sounds like a stale/older version of the dll might have been getting in the way. If it happens again with another project, try clearing out your nuget cache.
https://github.com/ServiceStack/ServiceStack/wiki/MyGet#clear-nuget-package-cache