mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-02 00:20:36 +08:00
155 lines
7.4 KiB
XML
155 lines
7.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<Import Project="..\..\..\..\installer\Version.props" />
|
|
<!-- We don't have GenerateAssemblyInfo task until we use .net core, so we generate it with WriteLinesToFile -->
|
|
<PropertyGroup>
|
|
<AssemblyTitle>ImageResizerUITest</AssemblyTitle>
|
|
<AssemblyCompany>Microsoft Corp.</AssemblyCompany>
|
|
<AssemblyCopyright>Copyright (C) 2020 Microsoft Corp.</AssemblyCopyright>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<AssemblyVersionFiles Include="Generated Files\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<Target Name="GenerateAssemblyInfo" BeforeTargets="PrepareForBuild">
|
|
<ItemGroup>
|
|
<HeaderLines Include="// Copyright (c) Microsoft Corporation" />
|
|
<HeaderLines Include="// The Microsoft Corporation licenses this file to you under the MIT license." />
|
|
<HeaderLines Include="// See the LICENSE file in the project root for more information." />
|
|
<HeaderLines Include="#pragma warning disable SA1516" />
|
|
<HeaderLines Include="using System.Reflection%3b" />
|
|
<HeaderLines Include="using System.Runtime.InteropServices%3b" />
|
|
<HeaderLines Include="using System.Windows%3b" />
|
|
<HeaderLines Include="[assembly: AssemblyTitle("$(AssemblyTitle)")]" />
|
|
<HeaderLines Include="[assembly: AssemblyDescription("")]" />
|
|
<HeaderLines Include="[assembly: AssemblyConfiguration("")]" />
|
|
<HeaderLines Include="[assembly: AssemblyCompany("$(AssemblyCompany)")]" />
|
|
<HeaderLines Include="[assembly: AssemblyCopyright("$(AssemblyCopyright)")]" />
|
|
<HeaderLines Include="[assembly: AssemblyProduct("$(AssemblyTitle)")]" />
|
|
<HeaderLines Include="[assembly: AssemblyTrademark("")]" />
|
|
<HeaderLines Include="[assembly: AssemblyCulture("")]" />
|
|
<HeaderLines Include="[assembly: ComVisible(false)]" />
|
|
<HeaderLines Include="[assembly: AssemblyVersion("$(Version).0")]" />
|
|
<HeaderLines Include="[assembly: AssemblyFileVersion("$(Version).0")]" />
|
|
</ItemGroup>
|
|
<WriteLinesToFile File="Generated Files\AssemblyInfo.cs" Lines="@(HeaderLines)" Overwrite="true" Encoding="Unicode" WriteOnlyWhenDifferent="true" />
|
|
</Target>
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
|
<ProjectGuid>{E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>ImageResizer</RootNamespace>
|
|
<AssemblyName>ImageResizer.Test</AssemblyName>
|
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<TargetFrameworkProfile>
|
|
</TargetFrameworkProfile>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<IntermediateOutputPath>$(SolutionDir)$(Platform)\$(Configuration)\obj\$(AssemblyName)\</IntermediateOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\modules\ImageResizer\$(AssemblyName)\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<CodeAnalysisRuleSet>..\..\..\codeAnalysis\Rules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\modules\ImageResizer\$(AssemblyName)\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<CodeAnalysisRuleSet>..\..\..\codeAnalysis\Rules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="System" />
|
|
<Reference Include="WindowsBase" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ui\ImageResizerUI.csproj">
|
|
<Project>{2be46397-4dfa-414c-9bd4-41e4bbf8cb34}</Project>
|
|
<Name>ImageResizerUI</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="..\..\..\codeAnalysis\StyleCop.json">
|
|
<Link>StyleCop.json</Link>
|
|
</AdditionalFiles>
|
|
<None Include="..\..\..\..\.editorconfig">
|
|
<Link>.editorconfig</Link>
|
|
</None>
|
|
<None Include="App.config">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\codeAnalysis\GlobalSuppressions.cs">
|
|
<Link>GlobalSuppressions.cs</Link>
|
|
</Compile>
|
|
<Compile Include="Generated Files\AssemblyInfo.cs">
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="Models\CustomSizeTests.cs" />
|
|
<Compile Include="Models\ResizeSizeTests.cs" />
|
|
<Compile Include="Models\ResizeBatchTests.cs" />
|
|
<Compile Include="Models\ResizeOperationTests.cs" />
|
|
<Compile Include="Properties\AppFixture.cs" />
|
|
<Compile Include="Properties\SettingsTests.cs" />
|
|
<Compile Include="Test\AssertEx.cs" />
|
|
<Compile Include="Test\BitmapSourceExtensions.cs" />
|
|
<Compile Include="Test\TestDirectory.cs" />
|
|
<Compile Include="Views\TimeRemainingConverterTests.cs" />
|
|
</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="TestPortrait.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Moq">
|
|
<Version>4.13.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="StyleCop.Analyzers">
|
|
<Version>1.1.118</Version>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.ValueTuple">
|
|
<Version>4.5.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="xunit">
|
|
<Version>2.4.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="xunit.runner.visualstudio">
|
|
<Version>2.4.1</Version>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
</Project> |