migrate-mstest-v3-to-v4 SKILL.md skillA
migrate-mstest-v3-to-v4 from dotnet/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dotnet/skills/migrate-mstest-v3-to-v4@git:20260902.3b670a8Pins git:20260902.3b670a8 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dotnet/skills
- Path
plugins/dotnet-test-migration/skills/migrate-mstest-v3-to-v4/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260902.3b670a8, committed Sep 2, 2026
- First version recorded
- Jun 23, 2026
- Size
- 28,868 bytes
- Repository stars
- 5,836
- License
- MIT
Use this skill before answering, planning, or editing any MSTest 3.x-to-4.x upgrade or post-upgrade failure. Triggers include "MSTest v4 breaking changes"; CS0507/CS0103/CS1061/CS1615; ExecuteAsync, CallerInfo, DisplayName, or custom TestMethodAttribute; ClassCleanupBehavior; ContainsKey; ThrowsExactly or ExpectedException; IsInstanceOfType out parameters; TestTimeout.Infinite; ManagedType; net6/net7 compatibility; TestCase.Id history; TestName in ClassInitialize…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# MSTest v3 -> v4 Migration Migrate a test project from MSTest v3 to MSTest v4. The outcome is a project using MSTest v4 that builds cleanly, passes tests, and accounts for every source-incompatible and behavioral change. MSTest v4 is **not binary compatible** with MSTest v3 -- any library compiled against v3 must be recompiled against v4. ## First Action Inspect the supplied project and source before searching the web or answering from memory. Classify the request as a focused source fix, runtime behavior change, CI discovery issue, compatibility question, or full migration, then follow the matching row below. A clean compile does not exclude this skill: discovery failures, `TestContext` lifecycle exceptions, and test-history changes are runtime migration failures. ## When to Use - Upgrading `MSTest.TestFramework`, `MSTest.TestAdapter`, or `MSTest` metapackage from 3.x to 4.x - Upgrading `MSTest.Sdk` from 3.x to 4.x - Fixing build errors after updating to MSTest v4 packages - Resolving behavioral changes in test execution after upgrading to MSTest v4 - Updating custom `TestMethodAttribute` or `ConditionBaseAttribute` implementations for v4 ## When Not to Use …
Read the whole file at its exact version.
How to install
mdr add dotnet/skills/migrate-mstest-v3-to-v4@sha256:bc76f25ee3b91a65The line at the top of this page pins the label git:20260902.3b670a8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ztsglvayxbs33xnl)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 23, 2026 and Sep 2, 2026, about one every 18 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260902.3b670a8 latest | 2026-09-02 | 3b670a8 | 28,868 B | A | view · diff |
| git:20260831.f775756 | 2026-08-31 | f775756 | 27,977 B | A | view · diff |
| git:20260828.2b9056b | 2026-08-28 | 2b9056b | 25,248 B | A | view · diff |
| git:20260731.030493d | 2026-07-31 | 030493d | 23,954 B | A | view · diff |
| git:20260623.35ace77 | 2026-06-23 | 35ace77 | 23,834 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (28868 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dotnet/skills · 5,836 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ztsglvayxbs33xnl GET https://markdownregistry.com/api/v1/resolve?ref=dotnet/skills/migrate-mstest-v3-to-v4 GET https://markdownregistry.com/api/v1/blob/bc76f25ee3b91a65ea0a63d4b3c183b1e3857156ac0cbb4246d225705c0c4305
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.