Microsoft.VisualStudio.Sdk.TestFramework.Xunit
17.11.8
Prefix Reserved
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Framework 4.7.2
This package targets .NET Framework 4.7.2. The package is compatible with this framework or higher.
dotnet add package Microsoft.VisualStudio.Sdk.TestFramework.Xunit --version 17.11.8
NuGet\Install-Package Microsoft.VisualStudio.Sdk.TestFramework.Xunit -Version 17.11.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.VisualStudio.Sdk.TestFramework.Xunit" Version="17.11.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.VisualStudio.Sdk.TestFramework.Xunit --version 17.11.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.VisualStudio.Sdk.TestFramework.Xunit, 17.11.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.VisualStudio.Sdk.TestFramework.Xunit as a Cake Addin #addin nuget:?package=Microsoft.VisualStudio.Sdk.TestFramework.Xunit&version=17.11.8 // Install Microsoft.VisualStudio.Sdk.TestFramework.Xunit as a Cake Tool #tool nuget:?package=Microsoft.VisualStudio.Sdk.TestFramework.Xunit&version=17.11.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Microsoft.VisualStudio.Sdk.TestFramework.Xunit
This package contains functionality applicable when using Xunit as your test framework.
For each of your test classes that rely on VS mocked services, apply the Collection
attribute and add a parameter and statement to your constructor:
using Microsoft.VisualStudio.Sdk.TestFramework;
[Collection(MockedVS.Collection)]
public class YourTestClass
{
public TestFrameworkTests(GlobalServiceProvider sp)
{
sp.Reset();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows8.0 is compatible. |
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- Microsoft.ServiceHub.Framework.Testing (>= 4.4.22)
- Microsoft.VisualStudio.Composition (>= 17.11.9)
- Microsoft.VisualStudio.Interop (>= 17.11.39607)
- Microsoft.VisualStudio.SDK.Analyzers (>= 17.7.41)
- Microsoft.VisualStudio.Sdk.TestFramework (>= 17.11.8)
- Microsoft.VisualStudio.Shell.15.0 (>= 17.11.39607)
- Microsoft.VisualStudio.Utilities (>= 17.11.39607)
- System.ComponentModel.Composition (>= 8.0.0)
- xunit (>= 2.8.1)
- Xunit.SkippableFact (>= 1.4.13)
-
net8.0
- Microsoft.ServiceHub.Framework.Testing (>= 4.4.22)
- Microsoft.VisualStudio.Composition (>= 17.11.9)
- Microsoft.VisualStudio.Interop (>= 17.11.39607)
- Microsoft.VisualStudio.Sdk.TestFramework (>= 17.11.8)
- Microsoft.VisualStudio.Utilities (>= 17.11.39607)
- System.ComponentModel.Composition (>= 8.0.0)
- xunit (>= 2.8.1)
- Xunit.SkippableFact (>= 1.4.13)
-
net8.0-windows8.0
- Microsoft.ServiceHub.Framework.Testing (>= 4.4.22)
- Microsoft.VisualStudio.Composition (>= 17.11.9)
- Microsoft.VisualStudio.Interop (>= 17.11.39607)
- Microsoft.VisualStudio.SDK.Analyzers (>= 17.7.41)
- Microsoft.VisualStudio.Sdk.TestFramework (>= 17.11.8)
- Microsoft.VisualStudio.Shell.15.0 (>= 17.11.39607)
- Microsoft.VisualStudio.Utilities (>= 17.11.39607)
- System.ComponentModel.Composition (>= 8.0.0)
- xunit (>= 2.8.1)
- Xunit.SkippableFact (>= 1.4.13)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Microsoft.VisualStudio.Sdk.TestFramework.Xunit:
Repository | Stars |
---|---|
NuGet/NuGet.Client
Client Tools for NuGet - including Visual Studio extensions, command line tools, and msbuild support. (Open issues on https://github.com/nuget/home/issues)
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source
|
Version | Downloads | Last updated |
---|---|---|
17.11.8 | 120 | 10/26/2024 |
17.6.16 | 67,775 | 7/10/2023 |
17.2.7 | 19,397 | 6/21/2022 |
17.2.5 | 626 | 5/25/2022 |
17.1.3-alpha | 257 | 1/13/2022 |