-
-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
52 lines (46 loc) · 2.21 KB
/
Directory.Build.props
File metadata and controls
52 lines (46 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
Add any shared properties you want for the projects under this directory that need to be set before the auto imported Directory.Build.props
-->
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" />
<PropertyGroup Label="Compile settings" Condition="$(MSBuildProjectName) != 'bunit.testassets'">
<Nullable>annotations</Nullable>
<SonarQubeTestProject>true</SonarQubeTestProject>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<OutputType>Exe</OutputType>
</PropertyGroup>
<PropertyGroup>
<!--
Because of a CVE in System.Text.Json we get NU1903.
As this is a test project, we can ignore this warning for the time being.
-->
<NoWarn>NU1903</NoWarn>
</PropertyGroup>
<ItemGroup Condition="$(MSBuildProjectName) != 'bunit.testassets'">
<PackageReference Include="AutoFixture" />
<PackageReference Include="AutoFixture.Xunit3" />
<PackageReference Include="Microsoft.NET.Test.Sdk"/>
<PackageReference Include="NSubstitute" />
<PackageReference Include="Shouldly"/>
<PackageReference Include="coverlet.msbuild" />
<PackageReference Include="Xunit.Combinatorial" />
<PackageReference Include="xunit.v3" />
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" IncludeAssets="Runtime;Build;Native;contentFiles;Analyzers" />
</ItemGroup>
<ItemGroup Label="Implicit usings" Condition="$(MSBuildProjectName) != 'bunit.testassets' AND $(MSBuildProjectName) != 'bunit.generators.tests'">
<Using Include="AutoFixture" />
<Using Include="AutoFixture.Xunit3" />
<Using Include="Bunit.TestAssets.SampleComponents" />
<Using Include="Bunit.TestAssets.SampleComponents.Data" />
<Using Include="Microsoft.JSInterop" />
<Using Include="Microsoft.AspNetCore.Components.Web" />
<Using Include="Microsoft.AspNetCore.Components.Routing" />
<Using Include="System.Reflection" />
<Using Include="NSubstitute" />
<Using Include="Shouldly" />
<Using Include="Xunit" />
</ItemGroup>
</Project>