migrate-mstest-v1v2-to-v3

Migrate MSTest v1/v2 projects to MSTest v3 and update assertions, DataRow usage, and runsettings.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/kierunb/ReliableAppDemo --skill migrate-mstest-v1v2-to-v3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-mstest-v1v2-to-v3
Source: https://github.com/kierunb/ReliableAppDemo/tree/main/.github/skills/dotnet-test/skills/migrate-mstest-v1v2-to-v3
Command: npx skills add https://github.com/kierunb/ReliableAppDemo --skill migrate-mstest-v1v2-to-v3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill migrates MSTest v1 or v2 projects to MSTest v3, addressing compatibility issues and common breakages that occur after updating MSTest packages or assembly references.

Core Features & Use Cases

  • Upgrades MSTest v1 (assembly reference) or MSTest v2 (NuGet 1.x–2.x) to MSTest v3
  • Fixes breaking changes such as assertion overloads and DataRow typing
  • Migrates from .testsettings to .runsettings and assists with target framework updates

Quick Start

Run the migrate-mstest-v1v2-to-v3 tool against your MSTest v1/v2 project to upgrade to MSTest v3.

Frequently Asked Questions about migrate-mstest-v1v2-to-v3

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate MSTest v2 projects to MSTest v3 without breaking DataRow typing?

To migrate MSTest v2 to MSTest v3, the tool upgrades NuGet package references and fixes breaking changes including DataRow typing and assertion overloads across target frameworks.

What breaking changes occur when upgrading MSTest v2 NuGet packages to v3?

Upgrading MSTest to v3 introduces breaking changes in assertion overloads and DataRow typing. The migration tool resolves these compatibility issues while updating target frameworks.

Can I migrate MSTest v1 assembly references directly to MSTest v3?

Yes, MSTest v1 assembly reference projects can migrate directly to MSTest v3. The tool replaces assembly references with NuGet packages and resolves compatibility issues.

How do I convert .testsettings to .runsettings when upgrading MSTest?

Converting .testsettings to .runsettings is handled during the MSTest v3 migration. The tool migrates configuration files and assists with target framework updates.

What is the best way to fix MSTest assertion overloads after updating to v3?

Fixing MSTest assertion overloads after updating to v3 is handled by running the migration tool against your project. It applies necessary assertion fixes and resolves compatibility breakages.