diff --git a/docs/core/testing/unit-testing-mstest-sdk.md b/docs/core/testing/unit-testing-mstest-sdk.md index d1389adf2330c..8ccdd3823c97d 100644 --- a/docs/core/testing/unit-testing-mstest-sdk.md +++ b/docs/core/testing/unit-testing-mstest-sdk.md @@ -19,7 +19,7 @@ The MSTest SDK discovers and runs your tests using the [MSTest runner](./unit-te You can enable `MSTest.Sdk` in a project by simply updating the `Sdk` attribute of the `Project` node of your project: ```xml - + net8.0 @@ -31,7 +31,7 @@ You can enable `MSTest.Sdk` in a project by simply updating the `Sdk` attribute ``` > [!NOTE] -> `/3.3.1` is given as example as it's the first version of the SDK, but it can be replaced with any newer version. +> `/3.6.3` is given as example and can be replaced with any newer version. To simplify handling of versions, we recommend setting the SDK version at solution level using the _global.json_ file. For example, your project file would look like: @@ -52,7 +52,7 @@ Then, specify the `MSTest.Sdk` version in the _global.json_ file as follows: ```json { "msbuild-sdks": { - "MSTest.Sdk": "3.3.1" + "MSTest.Sdk": "3.6.3" } } ``` @@ -90,7 +90,7 @@ You can set the profile using the property `TestingExtensionsProfile` with one o Here's a full example, using the `None` profile: ```xml - + net8.0 @@ -109,7 +109,7 @@ Extensions can be enabled and disabled by MSBuild properties with the pattern `E For example, to enable the crash dump extension (NuGet package [Microsoft.Testing.Extensions.CrashDump](https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump)), you can use the following property `EnableMicrosoftTestingExtensionsCrashDump` set to `true`: ```xml - + net8.0 @@ -133,7 +133,7 @@ This property pattern can be used to enable an additional extension on top of th You can also disable an extension that's coming from the selected profile. For example, disable the `MS Code Coverage` extension by setting `false`: ```xml - + net8.0 @@ -211,7 +211,7 @@ Add the version to your `global.json`: ```json { "msbuild-sdks": { - "MSTest.Sdk": "3.3.1" + "MSTest.Sdk": "3.6.3" } } ```