|
24 | 24 |
|
25 | 25 | <ItemGroup>
|
26 | 26 | <PackageReference Include="NUnit" Version="3.6.1" />
|
27 |
| - <Reference Include="..\..\lib\pcl\ServiceStack.Interfaces.dll" /> |
28 | 27 | </ItemGroup>
|
29 | 28 |
|
30 | 29 | <PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
|
|
40 | 39 | <Reference Include="System.Web" />
|
41 | 40 | <Reference Include="Microsoft.CSharp" />
|
42 | 41 |
|
| 42 | + <Reference Include="..\..\lib\pcl\ServiceStack.Interfaces.dll" /> |
43 | 43 | <Reference Include="..\..\lib\net45\ServiceStack.Text.dll" />
|
44 | 44 | <Reference Include="..\..\lib\net45\ServiceStack.Common.dll" />
|
45 | 45 | <Reference Include="..\..\lib\net45\ServiceStack.dll" />
|
|
49 | 49 | <DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
|
50 | 50 | </PropertyGroup>
|
51 | 51 |
|
| 52 | + <!-- Enable NunitLite build, becase NUnit is not supported on .NET Core SDK 1.0.2 |
| 53 | + https://github.com/nunit/dotnet-test-nunit/issues/91 |
| 54 | + To enable NUnitLite pass /p:NUNITLITE=1 into msbuild arguments |
| 55 | + --> |
| 56 | + <PropertyGroup Condition=" '$(NUNITLITE)' != '' "> |
| 57 | + <OutputType>Exe</OutputType> |
| 58 | + <DefineConstants>$(DefineConstants);NUNITLITE</DefineConstants> |
| 59 | + </PropertyGroup> |
| 60 | + |
| 61 | + <ItemGroup Condition=" '$(NUNITLITE)' != '' "> |
| 62 | + <PackageReference Include="NUnitLite" Version="3.6.1" /> |
| 63 | + </ItemGroup> |
| 64 | + |
52 | 65 | <ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">
|
53 |
| - <PackageReference Include="Microsoft.NETCore.Portable.Compatibility" Version="1.0.1" /> |
54 | 66 | <PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.1.1" />
|
55 | 67 |
|
56 |
| - <Reference Include="..\..\lib\netstandard1.3\ServiceStack.Text.dll" /> |
57 |
| - <Reference Include="..\..\lib\netstandard1.3\ServiceStack.Common.dll" /> |
58 |
| - <Reference Include="..\..\lib\tests\netstandard1.6\ServiceStack.dll" /> |
| 68 | + <PackageReference Include="ServiceStack.Interfaces.Core" Version="1.0.*" /> |
| 69 | + <PackageReference Include="ServiceStack.Text.Core" Version="1.0.*" /> |
| 70 | + <PackageReference Include="ServiceStack.Common.Core" Version="1.0.*" /> |
| 71 | + <PackageReference Include="ServiceStack.Core" Version="1.0.*" /> |
59 | 72 | </ItemGroup>
|
60 | 73 |
|
61 | 74 | </Project>
|
0 commit comments