2026-04-01 16:22:33 +08:00
<Project Sdk= "Microsoft.NET.Sdk" >
<!-- Look at Directory.Build.props in root for common stuff as well -->
<Import Project= "$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
<PropertyGroup >
<ProjectGuid > {E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8}</ProjectGuid>
2026-02-14 08:47:56 +01:00
<OutputType > Exe</OutputType>
<SelfContained > true</SelfContained>
<RuntimeIdentifier Condition= "'$(Platform)' == 'x64'" > win-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition= "'$(Platform)' == 'ARM64'" > win-arm64</RuntimeIdentifier>
2025-07-24 17:53:22 +02:00
<AppDesignerFolder > Properties</AppDesignerFolder>
2026-04-01 16:22:33 +08:00
<RootNamespace > ImageResizer</RootNamespace>
<AssemblyName > ImageResizer.Test</AssemblyName>
<OutputPath > $(SolutionDir)$(Platform)\$(Configuration)\tests\$(AssemblyName)\</OutputPath>
<AllowUnsafeBlocks > true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup >
<None Remove= "TestMetadataIssue1928.jpg" />
<None Remove= "TestMetadataIssue1928_NoMetadata.jpg" />
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\ui\ImageResizerUI.csproj" />
</ItemGroup>
<ItemGroup >
<Content Include= "Test.gif" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include= "Test.ico" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include= "Test.jpg" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include= "Test.png" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include= "TestMetadataIssue1928.jpg" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include= "TestMetadataIssue1928_NoMetadata.jpg" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include= "TestMetadataIssue2447.jpg" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include= "TestPortrait.png" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup >
<PackageReference Include= "Moq" />
<PackageReference Include= "MSTest" />
<PackageReference Include= "System.IO.Abstractions" />
<PackageReference Include= "System.CodeDom" >
<!-- 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. -->
<ExcludeAssets > runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
</PackageReference>
</ItemGroup>
</Project>