Skip to content

Commit ee17725

Browse files
authored
Update unit-testing-mstest-migration-from-v1-to-v3.md
1 parent 25191a0 commit ee17725

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/core/testing/unit-testing-mstest-migration-from-v1-to-v3.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,15 @@ For those comfortable editing XML directly, you can manually remove the referenc
7171

7272
### 2. Update Your Project
7373

74-
- **NuGet Package**: Install the latest [MSTest](https://www.nuget.org/packages/MSTest).
75-
- **Project File**: Update your project file to use MSTest SDK.
74+
You can update your project to MSTest v3 in one of two ways:
75+
76+
- **Install via NuGet Package**: Install the latest [MSTest](https://www.nuget.org/packages/MSTest) package using the NuGet Package Manager in Visual Studio or by running the following command in the NuGet Package Manager Console:
77+
78+
```shell
79+
Install-Package MSTest.TestFramework -Version 3.3.1
80+
```
81+
82+
- **Or update the project file directly**: Update your `.csproj` file to specify the MSTest SDK version.
7683

7784
```xml
7885
<Project Sdk="MSTest.Sdk/3.3.1">
@@ -82,6 +89,8 @@ For those comfortable editing XML directly, you can manually remove the referenc
8289
</Project>
8390
```
8491

92+
Choose the option that best suits your project setup. Both methods ensure your project is upgraded to use MSTest v3.
93+
8594
### 3. Update Your Code
8695

8796
- **Replace Deprecated Methods**: Update deprecated methods to newer versions.

0 commit comments

Comments
 (0)