mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
229 lines
11 KiB
XML
229 lines
11 KiB
XML
<?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')" />
|
|
<Import Project="..\..\..\installer\Version.props" />
|
|
<!-- We don't have GenerateAssemblyInfo task until we use .net core, so we generate it with WriteLinesToFile -->
|
|
<PropertyGroup>
|
|
<AssemblyTitle>Microsoft.PowerToys.Settings.UnitTest</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)' == '' ">x86</Platform>
|
|
<ProjectGuid>{A80355C2-780D-4245-BD80-25B8DE698EE3}</ProjectGuid>
|
|
<OutputType>AppContainerExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Microsoft.PowerToys.Settings.UnitTest</RootNamespace>
|
|
<AssemblyName>Microsoft.PowerToys.Settings.UnitTest</AssemblyName>
|
|
<DefaultLanguage>en-US</DefaultLanguage>
|
|
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
|
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
|
|
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
|
|
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<UnitTestPlatformVersion Condition="'$(UnitTestPlatformVersion)' == ''">$(VisualStudioVersion)</UnitTestPlatformVersion>
|
|
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
<OutputPath>bin\x86\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\ARM\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>ARM</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
|
|
<OutputPath>bin\ARM\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>ARM</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\ARM64\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>ARM64</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
|
|
<OutputPath>bin\ARM64\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>ARM64</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x64\Debug\Test\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoWarn>;2008</NoWarn>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
<UseDotNetNativeToolchain>false</UseDotNetNativeToolchain>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<SDKReference Include="TestPlatform.Universal, Version=$(UnitTestPlatformVersion)" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Generated Files\AssemblyInfo.cs">
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="ViewModelTests\FancyZones.cs" />
|
|
<Compile Include="ViewModelTests\General.cs" />
|
|
<Compile Include="ModelsTests\HelperTest.cs" />
|
|
<Compile Include="ViewModelTests\ImageResizer.cs" />
|
|
<Compile Include="ModelsTests\BasePTModuleSettingsTest.cs" />
|
|
<Compile Include="ModelsTests\BasePTSettingsTest.cs" />
|
|
<Compile Include="ModelsTests\SettingsUtilsTests.cs" />
|
|
<Compile Include="UnitTestApp.xaml.cs">
|
|
<DependentUpon>UnitTestApp.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="ViewModelTests\PowerRename.cs" />
|
|
<Compile Include="ViewModelTests\PowerPreview.cs" />
|
|
<Compile Include="ViewModelTests\ShortcutGuide.cs" />
|
|
<Compile Include="ViewModelTests\PowerLauncherViewModelTest.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ApplicationDefinition Include="UnitTestApp.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</ApplicationDefinition>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AppxManifest Include="Package.appxmanifest">
|
|
<SubType>Designer</SubType>
|
|
</AppxManifest>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Assets\LockScreenLogo.scale-200.png" />
|
|
<Content Include="Assets\SplashScreen.scale-200.png" />
|
|
<Content Include="Assets\Square150x150Logo.scale-200.png" />
|
|
<Content Include="Assets\Square44x44Logo.scale-200.png" />
|
|
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
|
<Content Include="Assets\StoreLogo.png" />
|
|
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
|
<Version>6.2.10</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="MSTest.TestAdapter">
|
|
<Version>2.1.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="MSTest.TestFramework">
|
|
<Version>2.1.1</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\common\ManagedTelemetry\Telemetry\Telemetry.csproj">
|
|
<Project>{5d00d290-4016-4cfe-9e41-1e7c724509ba}</Project>
|
|
<Name>Telemetry</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Microsoft.PowerToys.Settings.UI.Lib\Microsoft.PowerToys.Settings.UI.Lib.csproj">
|
|
<Project>{b1bcc8c6-46b5-4bfa-8f22-20f32d99ec6a}</Project>
|
|
<Name>Microsoft.PowerToys.Settings.UI.Lib</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Microsoft.PowerToys.Settings.UI\Microsoft.PowerToys.Settings.UI.csproj">
|
|
<Project>{a7d5099e-f0fd-4bf3-8522-5a682759f915}</Project>
|
|
<Name>Microsoft.PowerToys.Settings.UI</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
|
<VisualStudioVersion>14.0</VisualStudioVersion>
|
|
</PropertyGroup>
|
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.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>
|
|
-->
|
|
</Project> |