Install
.NET CLI
dotnet add package XUnit.Hosting --version 1.7.1
Package Manager Console
Install-Package XUnit.Hosting -Version 1.7.1
PackageReference
<PackageReference Include="XUnit.Hosting" Version="1.7.1" />
Frameworks
Dependencies
Microsoft.Extensions.Hosting
[8.0.0, )
net6.0
xunit.abstractions
[2.0.3, )
net6.0
Microsoft.Extensions.Hosting
[8.0.0, )
net7.0
xunit.abstractions
[2.0.3, )
net7.0
Microsoft.Extensions.Hosting
[8.0.0, )
net8.0
xunit.abstractions
[2.0.3, )
net8.0
Microsoft.Extensions.Hosting
[8.0.0, )
.NETStandard2.0
xunit.abstractions
[2.0.3, )
.NETStandard2.0
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.