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?
ServiceStack.Interfaces (>= 4.5.8)whereas the version of that package targeting .NET Standard depend onServiceStack.Interfaces (>= 5.1.0). Maybe the project is using the .NET standard version because my project depends on ServiceStack 5.x? Any thoughts on how to verify that? - NoelServiceStack.Interfaces (>= 4.5.8), so I would expect5.xin my project to work. - Noel