Those are all server only implementation classes, none of them should be in your Services Contract.
You need to remove any references to those types in all of your DTOs, only the Response DTOs should be in your services contract, i.e. the Response Type returned in HttpResult, never the HttpResult class itself.
You’ll need to provide an example for the List<T> issue, note your DTOs should contain concrete types like List<T> not interfaces like IList<T>.
Those Server Only implementation classes were not part of ANY of our DTO Base classes. We also not sure how they were included.
The issues is when it generates this interface not a class.
public interface ILocalSyncMessage
{
int Id { get; set; }
string CacheMessageId { get; set; }
…
IList To { get; set; }
IList CC { get; set; }
IList Bcc { get; set; }
…
}
We could try to convert them to List but that might have other problems in other places.