Svg.UnitTests.csproj 5.71 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project Sdk="Microsoft.NET.Sdk">
3
4
5
6
7
8
9
10
11
12
13
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>
    </ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{E702EB7D-D01D-438A-BADD-E72D4E49109F}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Svg.UnitTests</RootNamespace>
    <AssemblyName>Svg.UnitTests</AssemblyName>
14
    <TargetFrameworks>net4.5;netstandard2.0;netcoreapp2.0</TargetFrameworks>
15
16
17
18
19
20
21
22
23
24
25
    <FileAlignment>512</FileAlignment>
    <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  </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>
26
    <Prefer32Bit>false</Prefer32Bit>
27
28
29
30
31
32
33
34
  </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>
35
    <Prefer32Bit>false</Prefer32Bit>
36
37
38
39
40
41
42
43
44
45
46
47
  </PropertyGroup>
  <PropertyGroup>
    <SignAssembly>true</SignAssembly>
  </PropertyGroup>
  <PropertyGroup>
    <AssemblyOriginatorKeyFile>svgkey.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <ItemGroup>
    <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
      <Visible>False</Visible>
    </CodeAnalysisDependentAssemblyPaths>
  </ItemGroup>
48
  <!--
49
  <ItemGroup>
50
    <Compile Include="BoundsTests.cs" />
51
    <Compile Include="CssQueryTest.cs" />
52
    <Compile Include="LargeEmbeddedImageTest.cs" />
53
    <Compile Include="MarkerEndTest.cs" />
54
    <Compile Include="MetafileRenderingTest.cs" />
55
    <Compile Include="MultiThreadingTest.cs" />
56
    <Compile Include="PrivateFontsTests.cs" />
57
    <Compile Include="Properties\AssemblyInfo.cs" />
Andreas Niedermair's avatar
Andreas Niedermair committed
58
    <Compile Include="SmallEmbeddingImageTest.cs" />
59
    <Compile Include="SvgPointCollectionTests.cs" />
60
    <Compile Include="SvgTestHelper.cs" />
61
    <Compile Include="SvgTextTests.cs" />
62
    <Compile Include="SvgTextElementDeepCopyTest.cs" />
63
    <Compile Include="ImageComparisonTest.cs" />
64
  </ItemGroup>
65
  -->
66
67
68
69
70
71
72
  <ItemGroup>
    <ProjectReference Include="..\..\Source\Svg.csproj">
      <Project>{886A98C5-37C0-4E8B-885E-30C1D2F98B47}</Project>
      <Name>Svg</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
73
    <EmbeddedResource Include="Resources\Issue204_PrivateFont\BrushScriptMT2.ttf" />
74
    <None Include="packages.config" />
75
76
    <None Include="AllTests.csv" />
    <None Include="PassingTests.csv" />
77
78
    <None Include="svgkey.snk" />
  </ItemGroup>
79
80
81
  <ItemGroup>
    <EmbeddedResource Include="Resources\Issue204_PrivateFont\Text.svg" />
  </ItemGroup>
82
83
84
  <ItemGroup>
    <EmbeddedResource Include="Resources\Issue210_Metafile\3DSceneSnapshotBIG.svg" />
  </ItemGroup>
85
86
87
  <ItemGroup>
    <EmbeddedResource Include="Resources\Issue212_MakerEnd\OperatingPlan.svg" />
  </ItemGroup>
88
89
90
  <ItemGroup>
    <EmbeddedResource Include="Resources\Issue225_LargeUri\Speedometer.svg" />
  </ItemGroup>
Andreas Niedermair's avatar
Andreas Niedermair committed
91
92
93
  <ItemGroup>
    <EmbeddedResource Include="Resources\hotfix-image-data-uri\Speedometer.svg" />
  </ItemGroup>
94
95
96
  <ItemGroup>
    <EmbeddedResource Include="Resources\Issue_TextElement\Text.svg" />
  </ItemGroup>
97
98
99
  <ItemGroup>
    <EmbeddedResource Include="Resources\Issue281_Bounds\BoundsTest.svg" />
  </ItemGroup>
100
101
102
  <ItemGroup>
    <EmbeddedResource Include="Resources\Issue_Threading\TestFile.svg" />
  </ItemGroup>
103
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135

  <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0' or '$(TargetFramework)' == 'netstandard1.5' or '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard15' or '$(TargetFramework)' == 'netstandard20' or '$(TargetFramework)' == 'netcoreapp20'">
    <PackageReference Include="System.Drawing.Common">
      <Version>4.5.1</Version>
    </PackageReference>
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="MSTest.TestAdapter" Version="1.2.0-beta" />
    <PackageReference Include="MSTest.TestFramework" Version="1.2.0-beta" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
  </ItemGroup>
  <ItemGroup>
    <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
  </ItemGroup>

  <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
    <DefineConstants>$(DefineConstants);NETCORE;NETSTANDARD;NETCOREAPP2_0</DefineConstants>
  </PropertyGroup>

  <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.5'">
    <DefineConstants>$(DefineConstants);NETCORE;NETSTANDARD;NETSTANDARD1_5</DefineConstants>
  </PropertyGroup>

  <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
    <DefineConstants>$(DefineConstants);NETCORE;NETSTANDARD;NETSTANDARD2_0</DefineConstants>
  </PropertyGroup>

  <PropertyGroup Condition="'$(TargetFramework)' != 'netstandard2.0' And '$(TargetFramework)' != 'netstandard1.5' And '$(TargetFramework)' != 'netcoreapp2.0'">
    <DefineConstants>$(DefineConstants);NET40;NETFULL</DefineConstants>
  </PropertyGroup>

</Project>