b993165a0f8289f1db8a465cfe210fd4efc12b62
[platform/upstream/dotnet/runtime.git] /
1 <Project Sdk="Microsoft.NET.Sdk">
2
3   <PropertyGroup>
4     <Description>Suite of xUnit.net tests to check for container compatibility with Microsoft.Extensions.DependencyInjection.</Description>
5     <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
6     <RootNamespace>Microsoft.Extensions.DependencyInjection.Specification</RootNamespace>
7     <GenerateDocumentationFile>true</GenerateDocumentationFile>
8     <PackageTags>dependencyinjection;di</PackageTags>
9     <NoWarn>$(NoWarn);CS1591</NoWarn>
10     <!-- This is actually a library for test projects, not a test project. -->
11     <IsUnitTestProject>false</IsUnitTestProject>
12     <IsPackable>true</IsPackable>
13     <IsShipping>true</IsShipping>
14     <HasReferenceAssembly>false</HasReferenceAssembly>
15     <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
16   </PropertyGroup>
17
18   <ItemGroup>
19     <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
20   </ItemGroup>
21
22   <ItemGroup>
23     <!--
24       This intentionally does not reference 'xunit', 'xunit.core', or any runner packages.
25       XUnit recommends only using xunit.extensibility.*, xunit.assert, and xunit.abstractions for packages which "extend" xunit.
26       This allows consumers to decide which type of xunit runner they want to use to run these tests,
27       and avoids problems with `dotnet pack`.
28
29       See https://xunit.github.io/docs/nuget-packages and the special note in https://xunit.github.io/releases/2.3.
30     -->
31     <Reference Include="xunit.assert" />
32     <Reference Include="xunit.extensibility.core" />
33   </ItemGroup>
34 </Project>