Skip to content

Commit d2f6bed

Browse files
authored
Update unit-testing-mstest-migration-from-v1-to-v3.md
1 parent c196f57 commit d2f6bed

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ By upgrading, you’re setting up your tests to be faster, more reliable, and ad
5050

5151
### 1. Remove Assembly Reference
5252

53-
For projects using MSTest v1 through assembly references, it’s common to find references to either or both of the following DLLs:
53+
For projects using MSTest v1 through assembly references, it’s common to find references to the following DLLs:
5454

5555
- `Microsoft.VisualStudio.QualityTools.UnitTestFramework`
56-
- `Microsoft.VisualStudio.TestPlatform.TestFramework`
56+
- `Microsoft.VisualStudio.QualityTools.Common`
5757

5858
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:
5959

@@ -162,7 +162,8 @@ Choose the option that best suits your project setup. Both methods ensure your p
162162

163163
### Assertion Overloads
164164

165-
MSTest v3 removes certain `Assert` overloads that accept object types to promote type-safe assertions. Update tests using these overloads to specify types explicitly.
165+
MSTest v3 removes certain `Assert` overloads that accept object type to promote type-safe assertions. In most of cases it will work but not with exact `object` type or custum inherited ones.
166+
Update tests using these overloads to specify types explicitly.
166167

167168
**Example**:
168169

0 commit comments

Comments
 (0)