|
|
@@ -1,124 +1,28 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
+<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
|
|
<PropertyGroup>
|
|
|
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
- <ProjectGuid>{99135EAB-653D-47E4-A378-C96E1278CA44}</ProjectGuid>
|
|
|
- <OutputType>Library</OutputType>
|
|
|
- <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
- <RootNamespace>Avalonia.Markup.Xaml.UnitTests</RootNamespace>
|
|
|
- <AssemblyName>Avalonia.Markup.Xaml.UnitTests</AssemblyName>
|
|
|
- <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
|
|
- <FileAlignment>512</FileAlignment>
|
|
|
- <TargetFrameworkProfile />
|
|
|
+ <TargetFrameworks>net461;netcoreapp1.1</TargetFrameworks>
|
|
|
</PropertyGroup>
|
|
|
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
- <DebugSymbols>true</DebugSymbols>
|
|
|
- <DebugType>full</DebugType>
|
|
|
- <Optimize>false</Optimize>
|
|
|
- <OutputPath>bin\Debug\</OutputPath>
|
|
|
- <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
|
- <WarningLevel>4</WarningLevel>
|
|
|
- </PropertyGroup>
|
|
|
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
|
- <DebugType>pdbonly</DebugType>
|
|
|
- <Optimize>true</Optimize>
|
|
|
- <OutputPath>bin\Release\</OutputPath>
|
|
|
- <DefineConstants>TRACE</DefineConstants>
|
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
|
- <WarningLevel>4</WarningLevel>
|
|
|
- </PropertyGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Reference Include="System" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Compile Include="Context\AvaloniaNamespaceRegistryTest.cs" />
|
|
|
- <Compile Include="Data\BindingTests_DataValidation.cs" />
|
|
|
- <Compile Include="Data\BindingTests_Source.cs" />
|
|
|
- <Compile Include="Data\BindingTests_ElementName.cs" />
|
|
|
- <Compile Include="Data\BindingTests_Self.cs" />
|
|
|
- <Compile Include="Data\MultiBindingTests.cs" />
|
|
|
- <Compile Include="Data\BindingTests_TemplatedParent.cs" />
|
|
|
- <Compile Include="Data\BindingTests.cs" />
|
|
|
- <Compile Include="Converters\AvaloniaPropertyConverterTest.cs" />
|
|
|
- <Compile Include="Parsers\SelectorGrammarTests.cs" />
|
|
|
- <Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
- <Compile Include="SampleAvaloniaObject.cs" />
|
|
|
- <Compile Include="StyleTests.cs" />
|
|
|
- <Compile Include="Templates\MemberSelectorTests.cs" />
|
|
|
- <Compile Include="Templates\DataTemplateTests.cs" />
|
|
|
- <Compile Include="Xaml\BasicTests.cs" />
|
|
|
- <Compile Include="Xaml\ControlBindingTests.cs" />
|
|
|
- <Compile Include="Xaml\BindingTests.cs" />
|
|
|
- <Compile Include="Xaml\DataTemplateTests.cs" />
|
|
|
- <Compile Include="Xaml\InitializationOrderTracker.cs" />
|
|
|
- <Compile Include="Xaml\NonControl.cs" />
|
|
|
- <Compile Include="Xaml\TreeDataTemplateTests.cs" />
|
|
|
- <Compile Include="TypeProviderMock.cs" />
|
|
|
- <Compile Include="TestViewModel.cs" />
|
|
|
- <Compile Include="Xaml\StyleTests.cs" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <ProjectReference Include="..\..\src\Markup\Avalonia.Markup.Xaml\Avalonia.Markup.Xaml.csproj">
|
|
|
- <Project>{3E53A01A-B331-47F3-B828-4A5717E77A24}</Project>
|
|
|
- <Name>Avalonia.Markup.Xaml</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Markup\Avalonia.Markup\Avalonia.Markup.csproj">
|
|
|
- <Project>{6417e941-21bc-467b-a771-0de389353ce6}</Project>
|
|
|
- <Name>Avalonia.Markup</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Animation\Avalonia.Animation.csproj">
|
|
|
- <Project>{D211E587-D8BC-45B9-95A4-F297C8FA5200}</Project>
|
|
|
- <Name>Avalonia.Animation</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Base\Avalonia.Base.csproj">
|
|
|
- <Project>{B09B78D8-9B26-48B0-9149-D64A2F120F3F}</Project>
|
|
|
- <Name>Avalonia.Base</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Controls\Avalonia.Controls.csproj">
|
|
|
- <Project>{D2221C82-4A25-4583-9B43-D791E3F6820C}</Project>
|
|
|
- <Name>Avalonia.Controls</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Input\Avalonia.Input.csproj">
|
|
|
- <Project>{62024B2D-53EB-4638-B26B-85EEAA54866E}</Project>
|
|
|
- <Name>Avalonia.Input</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Interactivity\Avalonia.Interactivity.csproj">
|
|
|
- <Project>{6B0ED19D-A08B-461C-A9D9-A9EE40B0C06B}</Project>
|
|
|
- <Name>Avalonia.Interactivity</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Layout\Avalonia.Layout.csproj">
|
|
|
- <Project>{42472427-4774-4C81-8AFF-9F27B8E31721}</Project>
|
|
|
- <Name>Avalonia.Layout</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.ReactiveUI\Avalonia.ReactiveUI.csproj">
|
|
|
- <Project>{6417B24E-49C2-4985-8DB2-3AB9D898EC91}</Project>
|
|
|
- <Name>Avalonia.ReactiveUI</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Visuals\Avalonia.Visuals.csproj">
|
|
|
- <Project>{EB582467-6ABB-43A1-B052-E981BA910E3A}</Project>
|
|
|
- <Name>Avalonia.Visuals</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Styling\Avalonia.Styling.csproj">
|
|
|
- <Project>{F1BAA01A-F176-4C6A-B39D-5B40BB1B148F}</Project>
|
|
|
- <Name>Avalonia.Styling</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\src\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj">
|
|
|
- <Project>{3E10A5FA-E8DA-48B1-AD44-6A5B6CB7750F}</Project>
|
|
|
- <Name>Avalonia.Themes.Default</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\Avalonia.UnitTests\Avalonia.UnitTests.csproj">
|
|
|
- <Project>{88060192-33d5-4932-b0f9-8bd2763e857d}</Project>
|
|
|
- <Name>Avalonia.UnitTests</Name>
|
|
|
- </ProjectReference>
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <None Include="app.config" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
|
|
|
+ <Import Project="..\..\build\UnitTests.NetCore.targets" />
|
|
|
+ <Import Project="..\..\build\Moq.props" />
|
|
|
+ <Import Project="..\..\build\XUnit.props" />
|
|
|
+ <Import Project="..\..\build\Rx.props" />
|
|
|
+ <Import Project="..\..\build\Microsoft.Reactive.Testing.props" />
|
|
|
+ <Import Project="..\..\build\Splat.props" />
|
|
|
+ <Import Project="..\..\build\Sprache.props" />
|
|
|
+ <ItemGroup>
|
|
|
+ <ProjectReference Include="..\..\src\Markup\Avalonia.Markup.Xaml\Avalonia.Markup.Xaml.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Markup\Avalonia.Markup\Avalonia.Markup.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Animation\Avalonia.Animation.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Base\Avalonia.Base.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Controls\Avalonia.Controls.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Input\Avalonia.Input.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Interactivity\Avalonia.Interactivity.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Layout\Avalonia.Layout.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.ReactiveUI\Avalonia.ReactiveUI.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Visuals\Avalonia.Visuals.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Styling\Avalonia.Styling.csproj" />
|
|
|
+ <ProjectReference Include="..\..\src\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj" />
|
|
|
+ <ProjectReference Include="..\Avalonia.UnitTests\Avalonia.UnitTests.csproj" />
|
|
|
</ItemGroup>
|
|
|
<ItemGroup>
|
|
|
<EmbeddedResource Include="Xaml\Style1.xaml">
|
|
|
@@ -130,47 +34,7 @@
|
|
|
<SubType>Designer</SubType>
|
|
|
</EmbeddedResource>
|
|
|
</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">
|
|
|
- </Target>
|
|
|
- <Target Name="AfterBuild">
|
|
|
- </Target>
|
|
|
- -->
|
|
|
<ItemGroup>
|
|
|
- <PackageReference Include="Moq" Version="4.7.1" />
|
|
|
- <PackageReference Include="Splat" Version="2.0.0" />
|
|
|
- <PackageReference Include="Sprache" Version="2.1.0" />
|
|
|
- <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="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" />
|
|
|
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
|
|
|
</ItemGroup>
|
|
|
- <Import Project="$(MSBuildThisFileDirectory)..\..\src\Shared\nuget.workaround.targets" />
|
|
|
</Project>
|