I’ve upgrade the asp.net core project to servicestack interfaces core 1.0.41 and when building the project I get this build error:
error CS0012: The type ‘AttributeBase’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘ServiceStack.Interfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.
(exception on the RequiredRole attribute)
The project has a reference to ServiceStack.Interfaces.Core v 1.0.41. I’ve cleaned the solution, restored nuget, but still this build error.
If it’s still an issue we’ll need a repro, can you let me know if you’re getting the same issue with any of the NetCoreApps, otherwise can you put together a small stand-alone project that has this issue.
Did you remove reference to ServiceStack.Authentication.Azure package? This package is compiled with ServiceStack.Interfaces.dll v1.0 assembly, while latest nuget ServiceStack *.Core packages contain v4.5 of this assembly and the package won’t work with recent ServiceStack.Core releases.