|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
| 3 | + <PropertyGroup Condition=" '$(Configuration)' != 'Baseline' "> |
| 4 | + <TargetFrameworks>netcoreapp1.1.1</TargetFrameworks> |
| 5 | + </PropertyGroup> |
| 6 | + |
| 7 | + <PropertyGroup Condition=" '$(Configuration)' == 'Baseline' "> |
| 8 | + <TargetFrameworks>net462</TargetFrameworks> |
| 9 | + <DefineConstants>BASELINE</DefineConstants> |
| 10 | + </PropertyGroup> |
| 11 | + |
3 | 12 | <PropertyGroup> |
4 | 13 | <VersionPrefix>0.1.0</VersionPrefix> |
5 | | - <TargetFramework>netcoreapp1.1.1</TargetFramework> |
6 | 14 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
7 | 15 | <AssemblyName>MySqlConnector.Tests</AssemblyName> |
8 | 16 | <PackageId>MySqlConnector.Tests</PackageId> |
9 | 17 | <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> |
10 | 18 | </PropertyGroup> |
11 | 19 |
|
12 | | - <ItemGroup> |
13 | | - <ProjectReference Include="..\..\src\MySqlConnector\MySqlConnector.csproj" /> |
14 | | - </ItemGroup> |
15 | | - |
16 | 20 | <ItemGroup> |
17 | 21 | <PackageReference Include="Microsoft.DotNet.InternalAbstractions" Version="1.0.0" /> |
18 | 22 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-*" /> |
|
21 | 25 | <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" /> |
22 | 26 | </ItemGroup> |
23 | 27 |
|
| 28 | + <ItemGroup Condition=" '$(Configuration)' != 'Baseline' "> |
| 29 | + <ProjectReference Include="..\..\src\MySqlConnector\MySqlConnector.csproj" /> |
| 30 | + </ItemGroup> |
| 31 | + |
| 32 | + <ItemGroup Condition=" '$(Configuration)' == 'Baseline' "> |
| 33 | + <PackageReference Include="MySql.Data" Version="6.9.8" /> |
| 34 | + <Compile Remove="NormalizeTests.cs;TypeMapperTests.cs;Utf8Tests.cs" /> |
| 35 | + </ItemGroup> |
| 36 | + |
| 37 | + <ItemGroup Condition=" '$(TargetFramework)' == 'net462' "> |
| 38 | + <Reference Include="System" /> |
| 39 | + <Reference Include="Microsoft.CSharp" /> |
| 40 | + </ItemGroup> |
| 41 | + |
24 | 42 | </Project> |
0 commit comments