I have a created a nuget package that depends on ServiceStack.Core 1.0.30.
My project has version 1.0.44, but has a depency on the nuget package with version 1.0.30.
When I build my project, the following error is reported:
The type 'IAppSettings' is defined in an assembly that is not referenced. You must add a reference to assembly 'ServiceStack.Interfaces, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null'.
I would like to use ServiceStack 1.0.44 in my project, while keeping the nuget package at the lowest version possible.
This looks like a PCL issue where you’d need to reference the compatibility library.
Can you upgrade to ServiceStack v5 as it no longer uses PCL so you won’t have this issue.
The link points to ServiceStack 4.5.14.
I used MyGet version 5.0.0 instead.
I like this very much: just one library for both .Net Standard 2.0 and .Net Framework > 4.5
Apologies I posted the wrong link, fixed now. Yeah v5 unified packages is much cleaner.