I have a full framework .NET 4.7.2 (also tried 4.6.1) class library that references ServiceStack 4.5.8.0
. When attempting to upgrade to ServiceStack 5.5.0
, I get the following compile-time error:
The type 'IReturn<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'ServiceStack.Interfaces, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e06fbc6124f57c43'.
and
Argument 1: cannot convert from 'MyRadNameSpace.MySweetClass' to 'ServiceStack.IReturnVoid
There is a related question, but the question revolves around using .NET Standard and .NET core, whereas this library targets the full framework.
How can I troubleshoot this issue?