migrate-mstest-v1v2-to-v3
Installation
SKILL.md
MSTest v1/v2 -> v3 Migration
Migrate a test project from MSTest v1 (assembly references) or MSTest v2 (NuGet 1.x-2.x) to MSTest v3. MSTest v3 is not binary compatible with v1/v2 -- libraries compiled against v1/v2 must be recompiled.
When to Use
- Project references
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll(MSTest v1) - Project uses
MSTest.TestFramework/MSTest.TestAdapterNuGet 1.x or 2.x - Resolving build errors after updating MSTest packages from v1/v2 to v3 -- including when the packages already read 3.x and only the source or settings still need fixing
- Replacing
.testsettingswith.runsettings - Adopting MSTest.Sdk or in-assembly parallel execution
When Not to Use
- Project already on MSTest v3 with no migration-related build errors and no leftover
.testsettings/<LegacySettings>(fully migrated) - Upgrading v3 to v4 -- use
migrate-mstest-v3-to-v4 - Migrating between frameworks (MSTest to xUnit/NUnit)