Our custom made ERP is using ServiceStack (.NET Framework) as a basis. We are using a classical ServiceStack recommended structure.
So, we have a MyProject.ServiceInterface (containing API layer and all operations) and a MyProject.ServiceModel (containing all dtos) projects.
Another projects need to request this ERP and I want to share the MyProject.ServiceModel library so they can reference it to request ERP the easiest way.
A problem I have is that MyProject.ServiceModel is compiled using .Net Framework 4.6.2 as target Framework.
The projects destinated to use MyProject.ServiceModel library are compiled using .Net Framework 4.5 as target Framework.
I would like to know if it’s possible to compile MyProject.ServiceModel library using a lower version of .NET Framework, without changing target framework for MyProject.ServiceInterface.