I have a server solution with the following structure:
And these are the namespaces created in the generated code file:
What I am missing is:
- All classes under
BizBusLicenseServer.ServiceModel.Model
e.g.AccountActivity
,CommandMsgProtocol
etc. - All classes under
BizBusLicenseServer.ServiceModel.Util
e.g.UserAuthToken
The DTOs I have in DLLs (see Dependencies | Assemblies) and are correctly detected and generated (very cool by the way…)
The interesting bit is, that the generator creates all classes that are in the namespce BizBusLicenseServer.ServiceModel.Model.PushMessages
which is a sub-folder / namespace of Model
. It also took my Interfaces
from BizBusLicenseServer.ServiceModel.Interfaces
, which I don’t need and like on the clients.
Any idea what is wrong here? When I ran my software only on Windows and the target framework was 4.6.1, I was sharing DLLs between projects (Servers and Clients). Since my servers are now targeting .NET Core 2.0, I prefer using the ServiceStack Reference feature at least for the clients whitch are all targeting the .NET “full” framework(s).
I tried to uncomment IncludeTypes like so:
IncludeTypes: BizBusLicenseServer.ServiceModel.Util/*,BizBusLicenseServer.ServiceModel/*
But this ended in an empty file only containing using statements:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
What do I need to do to get these missing classes?