Skip to content

Commit 25191a0

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

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,20 @@ By upgrading, you’re setting up your tests to be faster, more reliable, and ad
4848

4949
### 1. Remove Assembly Reference
5050

51-
Remove the `Microsoft.VisualStudio.QualityTools.UnitTestFramework` reference from your project.
51+
For projects using MSTest v1 through assembly references, it’s common to find references to either or both of the following DLLs:
52+
53+
- `Microsoft.VisualStudio.QualityTools.UnitTestFramework`
54+
- `Microsoft.VisualStudio.TestPlatform.TestFramework`
55+
56+
In non-SDK style projects, these references are often added through Visual Studio rather than by directly editing the XML. To remove these references using the Visual Studio GUI:
57+
58+
1. **Open Solution Explorer** in Visual Studio.
59+
2. **Right-click on the project** using MSTest and select **Properties**.
60+
3. Navigate to the **References** tab.
61+
4. Locate and **select the MSTest DLL references** (`Microsoft.VisualStudio.QualityTools.UnitTestFramework` and/or `Microsoft.VisualStudio.TestPlatform.TestFramework`).
62+
5. **Right-click** the selected reference(s) and choose **Remove**.
63+
64+
For those comfortable editing XML directly, you can manually remove the references from your `.csproj` file as follows:
5265

5366
```xml
5467
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">

0 commit comments

Comments
 (0)