/ src / modules / colorPicker / ColorPickerUI.UnitTests / ColorPickerUI.UnitTests.csproj
ColorPickerUI.UnitTests.csproj
 1  <Project Sdk="Microsoft.NET.Sdk">
 2    <!-- Look at Directory.Build.props in root for common stuff as well -->
 3    <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
 4  
 5    <PropertyGroup>
 6      <ProjectGuid>{F93C2817-C846-4259-84D8-B39A6B57C8DE}</ProjectGuid>
 7      <RootNamespace>ColorPicker.UnitTests</RootNamespace>
 8      <IsPackable>false</IsPackable>
 9      <Nullable>enable</Nullable>
10      <OutputType>Library</OutputType>
11    </PropertyGroup>
12  
13    <PropertyGroup>
14      <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)\tests\ColorPickerUI.UnitTest\</OutputPath>
15    </PropertyGroup>
16  
17    <ItemGroup>
18      <PackageReference Include="MSTest" />
19      <PackageReference Include="Microsoft.Win32.SystemEvents">
20        <!-- This package is a dependency of System.Drawing.Common, 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. -->
21        <ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
22      </PackageReference>
23      <PackageReference Include="System.CodeDom">
24        <!-- 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. -->
25        <ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
26      </PackageReference>
27      <PackageReference Include="System.Drawing.Common">
28        <ExcludeAssets>runtime</ExcludeAssets> <!-- Should already be present on .net sdk runtime, so we avoid the conflicting runtime version from nuget -->
29      </PackageReference>
30    </ItemGroup>
31  
32    <ItemGroup>
33      <ProjectReference Include="..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" />
34      <ProjectReference Include="..\ColorPickerUI\ColorPickerUI.csproj" />
35    </ItemGroup>
36  
37  
38  </Project>