mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Added `<ItemGroup>` entries in `PowerDisplay.Lib.UnitTests.csproj`, `PowerDisplay.Lib.csproj`, and `PowerDisplay.csproj` to exclude build log files (`*.log` and `*.binlog`) from being displayed in the Solution Explorer. This change declutters the project view and ensures consistency across all project files, improving the developer experience.
42 lines
1.7 KiB
XML
42 lines
1.7 KiB
XML
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
|
|
<!-- Licensed under the MIT License. See LICENSE file in the project root for license information. -->
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
<Import Project="..\..\..\Common.Dotnet.CsWinRT.props" />
|
|
|
|
<PropertyGroup>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
<RootNamespace>PowerDisplay.UnitTests</RootNamespace>
|
|
<Platforms>x64;ARM64</Platforms>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\tests\PowerDisplay.Lib.UnitTests\</OutputPath>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Hide build log files from Solution Explorer -->
|
|
<None Remove="*.log" />
|
|
<None Remove="*.binlog" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="MSTest" />
|
|
<PackageReference Include="Moq" />
|
|
<PackageReference Include="System.CodeDom">
|
|
<!-- This package is a transitive dependency, but we need to set it here so we can exclude the assets,
|
|
so it doesn't conflict with the dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Diagnostics.EventLog">
|
|
<!-- This package is a transitive dependency, but we need to set it here so we can exclude the assets,
|
|
so it doesn't conflict with the dll coming from .NET SDK. -->
|
|
<ExcludeAssets>runtime</ExcludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\PowerDisplay.Lib\PowerDisplay.Lib.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|