/ src / modules / imageresizer / tests / ImageResizer.UnitTests.csproj
ImageResizer.UnitTests.csproj
 1  <Project Sdk="Microsoft.NET.Sdk">
 2    <!-- Look at Directory.Build.props in root for common stuff as well -->
 3    <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
 4  
 5    <PropertyGroup>
 6      <ProjectGuid>{E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8}</ProjectGuid>
 7      <OutputType>Library</OutputType>
 8      <AppDesignerFolder>Properties</AppDesignerFolder>
 9      <RootNamespace>ImageResizer</RootNamespace>
10      <AssemblyName>ImageResizer.Test</AssemblyName>
11      
12      <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\tests\$(AssemblyName)\</OutputPath>
13    </PropertyGroup>
14  
15    <ItemGroup>
16      <None Remove="TestMetadataIssue1928.jpg" />
17      <None Remove="TestMetadataIssue1928_NoMetadata.jpg" />
18    </ItemGroup>
19  
20    <ItemGroup>
21      <ProjectReference Include="..\ui\ImageResizerUI.csproj" />
22    </ItemGroup>
23  
24    <ItemGroup>
25      <Content Include="Test.gif">
26        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
27      </Content>
28      <Content Include="Test.ico">
29        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
30      </Content>
31      <Content Include="Test.jpg">
32        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
33      </Content>
34      <Content Include="Test.png">
35        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
36      </Content>
37      <Content Include="TestMetadataIssue1928.jpg">
38        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
39      </Content>
40      <Content Include="TestMetadataIssue1928_NoMetadata.jpg">
41        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
42      </Content>
43      <Content Include="TestMetadataIssue2447.jpg">
44        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
45      </Content>
46      <Content Include="TestPortrait.png">
47        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
48      </Content>
49    </ItemGroup>
50    <ItemGroup>
51      <PackageReference Include="Moq" />
52      <PackageReference Include="MSTest" />
53      <PackageReference Include="System.IO.Abstractions" />
54      <PackageReference Include="System.CodeDom">
55        <!-- This package is a dependency of System.Management, but we need to set it here so we can exclude the assets, so it doesn't conflict with the 8.0.1 dll coming from .NET SDK. -->
56        <ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
57      </PackageReference>
58    </ItemGroup>
59  </Project>