Runs xunit tests using the official xunit MSBuild task with every build (by default, in Release builds only). Includes official xUnit MSBuild task binaries

There is a newer version of this package available.
See the version list below for details.
Install-Package xunit.MSBuild -Version
dotnet add package xunit.MSBuild --version
<PackageReference Include="xunit.MSBuild" Version="">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xunit.MSBuild --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Bugfix: AfterBuild target was overwritten. Moved execution to a dedicated target.

Showing the top 3 GitHub repositories that depend on xunit.MSBuild:

Repository Stars
Command line tools for Azure Functions
.NET interop library to call the R statistical language in the same process
Lightweight library that helps reduce boilerplate when implementing validation in XAML MVVM applications

Version History

Version Downloads Last updated
2.0.0 56,029 4/13/2015 2,835 10/23/2014
1.9.2 497 10/17/2014