|
|
|
@ -1,17 +1,9 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
|
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0"> |
|
|
|
<PropertyGroup> |
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
|
|
<TargetFrameworks>net461;netcoreapp1.1</TargetFrameworks> |
|
|
|
<ProjectGuid>{2905FF23-53FB-45E6-AA49-6AF47A172056}</ProjectGuid> |
|
|
|
<OutputType>Library</OutputType> |
|
|
|
<AppDesignerFolder>Properties</AppDesignerFolder> |
|
|
|
<RootNamespace>Avalonia.Base.UnitTests</RootNamespace> |
|
|
|
<AssemblyName>Avalonia.Base.UnitTests</AssemblyName> |
|
|
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> |
|
|
|
<FileAlignment>512</FileAlignment> |
|
|
|
<TargetFrameworkProfile /> |
|
|
|
</PropertyGroup> |
|
|
|
<Import Project="$(MSBuildThisFileDirectory)..\coretests.props" /> |
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|
|
|
<DebugSymbols>true</DebugSymbols> |
|
|
|
<DebugType>full</DebugType> |
|
|
|
@ -20,6 +12,7 @@ |
|
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
|
|
<ErrorReport>prompt</ErrorReport> |
|
|
|
<WarningLevel>4</WarningLevel> |
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
|
|
</PropertyGroup> |
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|
|
|
<DebugType>pdbonly</DebugType> |
|
|
|
@ -28,6 +21,7 @@ |
|
|
|
<DefineConstants>TRACE</DefineConstants> |
|
|
|
<ErrorReport>prompt</ErrorReport> |
|
|
|
<WarningLevel>4</WarningLevel> |
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
|
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
|
|
<Compile Include="AvaloniaObjectTests_DataValidation.cs" /> |
|
|
|
@ -53,9 +47,6 @@ |
|
|
|
<Compile Include="PriorityValueTests.cs" /> |
|
|
|
<Compile Include="WeakSubscriptionManagerTests.cs" /> |
|
|
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
|
|
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> |
|
|
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\Avalonia.Base\Avalonia.Base.csproj"> |
|
|
|
<Project>{B09B78D8-9B26-48B0-9149-D64A2F120F3F}</Project> |
|
|
|
@ -66,26 +57,6 @@ |
|
|
|
<Name>Avalonia.UnitTests</Name> |
|
|
|
</ProjectReference> |
|
|
|
</ItemGroup> |
|
|
|
<Choose> |
|
|
|
<When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'"> |
|
|
|
<ItemGroup> |
|
|
|
<Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
|
|
|
<Private>False</Private> |
|
|
|
</Reference> |
|
|
|
<Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
|
|
|
<Private>False</Private> |
|
|
|
</Reference> |
|
|
|
<Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
|
|
|
<Private>False</Private> |
|
|
|
</Reference> |
|
|
|
<Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
|
|
|
<Private>False</Private> |
|
|
|
</Reference> |
|
|
|
</ItemGroup> |
|
|
|
</When> |
|
|
|
</Choose> |
|
|
|
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
|
|
|
Other similar extension points exist, see Microsoft.Common.targets. |
|
|
|
<Target Name="BeforeBuild"> |
|
|
|
@ -93,20 +64,4 @@ |
|
|
|
<Target Name="AfterBuild"> |
|
|
|
</Target> |
|
|
|
--> |
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.Reactive.Testing" Version="3.0.0" /> |
|
|
|
<PackageReference Include="Moq" Version="4.2.1510.2205" /> |
|
|
|
<PackageReference Include="System.Reactive.Core" Version="3.0.0" /> |
|
|
|
<PackageReference Include="System.Reactive.Interfaces" Version="3.0.0" /> |
|
|
|
<PackageReference Include="System.Reactive.Linq" Version="3.0.0" /> |
|
|
|
<PackageReference Include="System.Reactive.PlatformServices" Version="3.0.0" /> |
|
|
|
<PackageReference Include="xunit" Version="2.2.0" /> |
|
|
|
<PackageReference Include="xunit.abstractions" Version="2.0.1" /> |
|
|
|
<PackageReference Include="xunit.assert" Version="2.2.0" /> |
|
|
|
<PackageReference Include="xunit.core" Version="2.2.0" /> |
|
|
|
<PackageReference Include="xunit.extensibility.core" Version="2.2.0" /> |
|
|
|
<PackageReference Include="xunit.extensibility.execution" Version="2.2.0" /> |
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" /> |
|
|
|
</ItemGroup> |
|
|
|
<Import Project="$(MSBuildThisFileDirectory)..\..\src\Shared\nuget.workaround.targets" /> |
|
|
|
</Project> |