Upgrade Microsoft.NET.Test.Sdk for a selected .NET 10 test project
ProprietaryUpgrades an existing literal Microsoft.NET.Test.Sdk reference to 18.11.0 in one explicitly selected SDK test project targeting .NET 10. Requires all declared hosts to be supported; skips other captured Test SDK consumers, central/property/conditional version policy and direct TestPlatform or CodeCoverage pins. Delegates the edit and reattestation to UpgradeNuGetPackageVersion. Does not retarget hosts or change test code, coverage or CI.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net10. UpgradeMicrosoftNetTestSdkForNet10Required
Exact captured source path of the test project to upgrade; no globs. Select only after retiring unsupported test hosts and reviewing CI SDK policy.
mod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net10. UpgradeMicrosoftNetTestSdkForNet10 \
-P ProjectPath= test/ Ben. Demystifier. Test/ Ben. Demystifier. Test. csprojInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Upgrade NuGet package version