mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
Duplicating https://github.com/microsoft/PowerToys/pull/37001, but opening from upstream instead of fork as CI doesn't play nicely with PRs from forks (https://github.com/microsoft/PowerToys/pull/37617 is improving that) --------- Co-authored-by: Clint Rutkas <clint@rutkas.com> Co-authored-by: vanzue <vanzue@outlook.com>
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
<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>
|
|
<IsPackable>false</IsPackable>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\tests\Hosts.Tests\</OutputPath>
|
|
<RootNamespace>Hosts.Tests</RootNamespace>
|
|
<AssemblyName>PowerToys.Hosts.Tests</AssemblyName>
|
|
<OutputType>Exe</OutputType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Moq" />
|
|
<PackageReference Include="MSTest" />
|
|
<PackageReference Include="System.IO.Abstractions" />
|
|
<PackageReference Include="System.IO.Abstractions.TestingHelpers" />
|
|
<PackageReference Include="System.Diagnostics.EventLog">
|
|
<!-- This package is a dependency of Microsoft.Extensions.Logging.EventLog, 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>
|
|
<!-- HACK: CmdPal uses CommunityToolkit.Common directly. Align the version. -->
|
|
<PackageReference Include="CommunityToolkit.Common" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\HostsUILib\HostsUILib.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|