AllExperiments.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 <ImplicitUsings>enable</ImplicitUsings> 7 <Nullable>enable</Nullable> 8 <TargetName>PowerToys.AllExperiments</TargetName> 9 <MockDirectory>.\Microsoft.VariantAssignment\</MockDirectory> 10 </PropertyGroup> 11 12 <ItemGroup> 13 <ProjectReference Include="..\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" /> 14 <ProjectReference Include="..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" /> 15 </ItemGroup> 16 17 <!-- Experimentation is live, forcing inclusion --> 18 <ItemGroup Condition="'$(IsExperimentationLive)'!=''"> 19 <!-- Newtonsoft.Json is included and a version specified in Directory.Packages.props to avoid a vulnerability from older versions. --> 20 <PackageReference Include="Newtonsoft.Json" /> 21 <PackageReference Include="Microsoft.VariantAssignment.Client" /> 22 <PackageReference Include="Microsoft.VariantAssignment.Contract" /> 23 <Compile Remove=".\$(MockDirectory)\Client\*.cs" /> 24 <Compile Remove=".\$(MockDirectory)\Contract\*.cs" /> 25 </ItemGroup> 26 27 </Project>