Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Migrates .NET test projects from VSTest to Microsoft.Testing.Platform, updating runners, dotnet test arguments and CI/CD pipelines.
59% 100%+41 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 13 of 22 without it.
Our repository runs on .NET 10 SDK and we want all `dotnet test` invocations to use native Microsoft.Testing.Platform without needing custom CLI arguments or MSBuild properties in every project. What configuration should we put in global.json?
Configures top-level test runner property to Microsoft.Testing.Platform in global.json
3 of 3 safety checks passed
Migrate a .NET test solution from VSTest to Microsoft.Testing.Platform (MTP). The outcome is a solution where all test projects run on MTP, dotnet test works correctly, and CI/CD pipelines are updated.
Important: Do not mix VSTest-based and MTP-based .NET test projects in the same solution or run configuration -- this is an unsupported scenario.
dotnet run / dotnet watch / direct executable execution for test projectsvstest.console.exe with dotnet test on MTPdotnet test arguments from VSTest syntax to MTP syntaxmigrate-mstest-v1v2-to-v3 or migrate-mstest-v3-to-v4| Input | Required | Description |
|---|---|---|
| Project or solution path | Yes | The .csproj, .sln, or .slnx entry point containing test projects |
| Test framework | No | MSTest, NUnit, xUnit.net v2, or xUnit.net v3. Auto-detected from package references |
| .NET SDK version | No | Determines dotnet test integration mode. Auto-detected via dotnet --version |
| CI/CD pipeline files | No | Paths to pipeline definitions that invoke vstest.console or dotnet test |
platform-detection skill for the package-to-framework mapping. Key indicators:
MSTest or MSTest.TestAdapter, or uses MSTest.Sdk (with <IsTestApplication> not set to false). Note: MSTest.TestFramework alone is a library dependency, not a test project.NUnit3TestAdapterxunit and xunit.runner.visualstudioPublished skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.