-
Notifications
You must be signed in to change notification settings - Fork 14
/
Server.NetCoreFx.csproj
31 lines (25 loc) · 1.33 KB
/
Server.NetCoreFx.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>
<!--
Binary coupling to multi-targeted project assemblies isn't possible as a reference to the "ServiceModel"
project references the "net46" build which only references the ".NET v4.5" version of "ServiceStack"
instead of the ".NET Standard 2.0" version required to be able to host ASP.NET Core Apps.
Instead source code link references are used to avoid binary coupling so the DTOs reference the same
".NET Standard 2.0" version of "ServiceStack.Interfaces.Core" that "ServiceStack.Core" references.
-->
<ItemGroup>
<Compile Include="..\Server.Common\WebServices.cs" Link="WebServices.cs" />
<Compile Include="..\ServiceModel\Config.cs" Link="Config.cs" />
<Compile Include="..\ServiceModel\Hello.cs" Link="Hello.cs" />
<Compile Include="..\ServiceModel\SendFile.cs" Link="SendFile.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.*" />
<!-- The ".Core" NuGet packages forces "net47" ASP.NET Core Apps to use .NET Standard 2.0 versions of ServiceStack -->
<PackageReference Include="ServiceStack.Core" Version="5.*" />
</ItemGroup>
</Project>