[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-migrate-mstest-v1v2-to-v3":3,"mdc--lr0nv6-key":37,"related-repo-dotnet-migrate-mstest-v1v2-to-v3":2412,"related-org-dotnet-migrate-mstest-v1v2-to-v3":2518},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":32,"sourceUrl":35,"mdContent":36},"migrate-mstest-v1v2-to-v3","migrate MSTest projects to v3","Migrate MSTest v1\u002Fv2 projects to MSTest v3, and fix v1\u002Fv2-to-v3 breaking changes that surface after the packages are already at 3.x. USE FOR: removing v1 Microsoft.VisualStudio.QualityTools.UnitTestFramework assembly references; moving MSTest.TestFramework\u002FTestAdapter 1.x-2.x to 3.x, the MSTest metapackage, or MSTest.Sdk; tests that broke after a 2.x-to-3.x bump -- CS0411\u002FCS1503 on Assert.AreEqual\u002FAreNotEqual\u002FAreSame once the object overloads became generic, and DataRow strict type matching (1L vs 1) that builds with MSTEST0014 but fails at run time; .testsettings\u002FLegacySettings to .runsettings (DeploymentEnabled, per-test MSTest TestTimeout); v3 timeout behavior; TFMs v3 dropped (net5.0, .NET Fx below 4.6.2, netstandard1.0). Applies even when the project already references MSTest 3.x, if a v1\u002Fv2-era setting or error remains. Keeps the current runner. DO NOT USE FOR: MSTest v4 (use migrate-mstest-v3-to-v4 next), clean v3 projects with no v1\u002Fv2 leftovers, other test frameworks, or VSTest-to-MTP.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dotnet",".NET (Microsoft)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdotnet.png",[12,16,19,22],{"name":13,"slug":14,"type":15},".NET","net","tag",{"name":17,"slug":18,"type":15},"Migration","migration",{"name":20,"slug":21,"type":15},"Engineering","engineering",{"name":23,"slug":24,"type":15},"Testing","testing",4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-08-01T05:42:16.19087","MIT",332,[31],"agent-skills",{"repoUrl":26,"stars":25,"forks":29,"topics":33,"description":34},[31],"Repository for skills to assist AI coding agents with .NET and C#","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-test-migration\u002Fskills\u002Fmigrate-mstest-v1v2-to-v3","---\nname: migrate-mstest-v1v2-to-v3\ndescription: >\n  Migrate MSTest v1\u002Fv2 projects to MSTest v3, and fix v1\u002Fv2-to-v3 breaking\n  changes that surface after the packages are already at 3.x.\n  USE FOR: removing v1\n  Microsoft.VisualStudio.QualityTools.UnitTestFramework assembly references;\n  moving MSTest.TestFramework\u002FTestAdapter 1.x-2.x to 3.x, the MSTest\n  metapackage, or MSTest.Sdk; tests that broke after a 2.x-to-3.x bump --\n  CS0411\u002FCS1503 on Assert.AreEqual\u002FAreNotEqual\u002FAreSame once the object\n  overloads became generic, and DataRow strict type matching (1L vs 1) that\n  builds with MSTEST0014 but fails at run time; .testsettings\u002FLegacySettings\n  to .runsettings (DeploymentEnabled, per-test MSTest TestTimeout); v3 timeout\n  behavior; TFMs v3 dropped (net5.0, .NET Fx below 4.6.2, netstandard1.0).\n  Applies even when the project already references MSTest 3.x, if a v1\u002Fv2-era\n  setting or error remains. Keeps the current runner.\n  DO NOT USE FOR: MSTest v4 (use migrate-mstest-v3-to-v4 next), clean v3\n  projects with no v1\u002Fv2 leftovers, other test frameworks, or VSTest-to-MTP.\nlicense: MIT\n---\n\n# MSTest v1\u002Fv2 -> v3 Migration\n\nMigrate 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\u002Fv2 -- libraries compiled against v1\u002Fv2 must be recompiled.\n\n## When to Use\n\n- Project references `Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll` (MSTest v1)\n- Project uses `MSTest.TestFramework` \u002F `MSTest.TestAdapter` NuGet 1.x or 2.x\n- Resolving build errors after updating MSTest packages from v1\u002Fv2 to v3 -- including when the packages already read 3.x and only the source or settings still need fixing\n- Replacing `.testsettings` with `.runsettings`\n- Adopting MSTest.Sdk or in-assembly parallel execution\n\n## When Not to Use\n\n- Project already on MSTest v3 with no migration-related build errors and no leftover `.testsettings` \u002F `\u003CLegacySettings>` (fully migrated)\n- Upgrading v3 to v4 -- use `migrate-mstest-v3-to-v4`\n- Migrating between frameworks (MSTest to xUnit\u002FNUnit)\n\n## Boundary Gate\n\nCheck package versions before any edit. If all MSTest references are already 3.x,\nno v1\u002Fv2-to-v3 error is reported, and no `.testsettings` or `\u003CLegacySettings>`\nremains, state that migration is complete and make no changes. A 3.x package\nversion alone does not end the migration -- leftover v1\u002Fv2-era settings files or\nbreaking-change errors are still in scope. Do not consolidate working v3 packages\ninto the metapackage. Run the existing tests only if verification was requested.\nThis overrides all steps below.\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Project or solution path | No | The `.csproj`, `.sln`, or `.slnx` entry point. Glob the working directory for it; ask only if nothing is found or several test projects make the target ambiguous |\n| Build command | No | How to build (e.g., `dotnet build`, a repo build script). Auto-detect if not provided |\n| Test command | No | How to run tests (e.g., `dotnet test`). Auto-detect if not provided |\n\n> **Never open by asking for the project path.** A user describing their project\n> in prose is asking a question, not withholding a file -- look on disk first. If\n> there is genuinely no project file, answer for the setup they described rather\n> than replying with only a question.\n>\n> **Open the paths exactly as the search returned them.** A glob that answers\n> `.\u002FTestProject.csproj` means the file is there, relative to the working\n> directory -- read it at that path. Do not rebuild it into an absolute path\n> under this skill's own base directory: that directory holds `SKILL.md`, not the\n> user's project, so the read fails and the project looks missing when it is not.\n> If a file you just found fails to open, the path you constructed is wrong --\n> retry with the literal result. Never conclude \"there is no project on disk\"\n> while a search is still reporting project files, and never scaffold a\n> substitute project from the prose description as a workaround.\n\n## Breaking Changes Summary\n\nMSTest v3 introduces these breaking changes from v1\u002Fv2. Address only the ones relevant to the project:\n\n| Breaking Change | Impact | Fix |\n|---|---|---|\n| `Assert.AreEqual(object, object)` overload removed; only `AreEqual\u003CT>(T?, T?)` remains | **`CS0411`** (type arguments cannot be inferred) or `CS1503` -- but only where the two arguments have no common inferred type. Two `object`-typed arguments still infer `T = object` and **compile unchanged** | Add the explicit type argument on the failing call: `Assert.AreEqual\u003Cobject>(expected, actual)`. Same for `AreNotEqual`, `AreSame`, `AreNotSame`. Leave assertions that already compile alone |\n| `DataRow` strict type matching | **Not a compile error.** Builds with analyzer warning `MSTEST0014` and fails at run time with \"Test data doesn't match method parameters\". Widening conversions (`int` -> `long`) still bind; narrowing or unrelated types (`1L` -> `int`, `1.0` -> `float`) do not | Change literals to the exact parameter type: `1` for int, `1L` for long, `1.0f` for float. Run the tests -- a green build proves nothing here |\n| `DataRow` limited to 16 arguments -- **3.0.1 and 3.0.2 only** | `CS1729` on those two versions; the limit was removed again in **3.0.3** | On 3.0.3+ (every current 3.x) a longer row is valid -- **leave it unchanged**. Do not wrap extras in an array, cast to `object`, or split the test. Only a project pinned to 3.0.1\u002F3.0.2 needs action: update to 3.0.3+ |\n| `.testsettings` \u002F `\u003CLegacySettings>` no longer supported | Settings silently ignored | Delete `.testsettings`, create `.runsettings` with equivalent config |\n| Timeout behavior unified across .NET Core \u002F Framework | Tests with `[Timeout]` may behave differently | Verify timeout values; adjust if needed |\n| Dropped target frameworks: .NET 5, .NET Fx \u003C 4.6.2, netstandard1.0, UWP \u003C 16299, WinUI \u003C 18362 | Build error | Update TFM: .NET 5 -> net8.0 (LTS) or net6.0+, netfx -> net462+, netstandard1.0 -> netstandard2.0. Note: net6.0, net8.0, net9.0 are all supported |\n| Not binary compatible with v1\u002Fv2 | Libraries compiled against v1\u002Fv2 must be recompiled | Recompile all dependencies against v3 |\n| Test ID generation changed | Playlists, filters, or CI history keyed by test ID may reset | Re-baseline IDs and verify affected filters |\n| `TargetInvocationException` is unwrapped | Tests or infrastructure expecting the wrapper observe the inner exception | Update exception handling to expect the underlying exception |\n| Initialization\u002Fcleanup messages now attach to test results | The first\u002Flast test output may gain lifecycle messages that were previously absent | Update log processing and inspect the first\u002Flast test results |\n| Deployment directory behavior is unified across TFMs | Tests with hard-coded deployment paths may fail | Use `TestContext.DeploymentDirectory` or deployed-item paths instead of assumptions |\n| Nullable annotations were added | Nullable-enabled projects may gain warnings | Fix the warnings without suppressing unrelated diagnostics |\n\n## Response Guidelines\n\n- **Always identify the current version first**: Before recommending any migration steps, explicitly state the current MSTest version detected in the project (e.g., \"Your project uses MSTest v2 (2.2.10)\" or \"This is an MSTest v1 project using QualityTools assembly references\"). This grounds the migration advice and confirms you've read the project files.\n- **Require project evidence, but gather it yourself**: Do not assume v1\u002Fv2 from the wording alone -- read the project or central package files and classify the source as QualityTools\u002Fv1, NuGet 1.x, or NuGet 2.x. Gather that evidence from the working directory rather than asking the user for it. If the project is already on v3+ with no v1\u002Fv2 leftovers, stop and route to the appropriate skill.\n- **Preserve the test platform**: Keep VSTest or MTP unchanged during the framework upgrade unless the user separately requests a runner migration.\n- **Execute full migrations**: When the user asks you to migrate or upgrade the project, edit the files, build, and run tests. Do not stop after listing breaking changes. Advice-only responses are appropriate only when the user asks what to expect.\n- **Focused fix requests** (user has specific compilation errors after upgrading): Address only the relevant breaking change from the table above. Show a concise before\u002Fafter fix. Do not walk through the full migration workflow.\n- **DataRow fix requests**: Compare every supplied `DataRow` with its method signature. Mismatches can build with only `MSTEST0014` and fail during test execution. Preserve the method contract and normally fix the literal (`1L` -> `1` for `int`), then run the affected tests. **Change only the rows that are actually wrong.** Argument count is not itself a defect on 3.0.3+, so leave a long row alone unless the compiler rejects it.\n- **Change nothing on suspicion -- confirm the error first**: When you believe a construct is unsupported, build and read the actual diagnostic before editing it. If it compiles, this version supports it and it needs no change. Rewriting valid code to dodge a limit the project is not subject to is a defect, not caution.\n- **Specific feature migration** (user asks about one aspect like .testsettings, DataRow, or assertions): Address only that feature, but handle every active setting or affected usage in the supplied files. For `.testsettings`, put all MSTest settings under one `\u003CMSTest>` element, map requested deployment, per-test timeout, data collector, and other active configuration, and do not add a session-wide timeout. Do not walk through unrelated breaking changes.\n- **\"What to expect\" questions** (user asks about breaking changes before upgrading): First state the concrete package update needed to reach v3, then summarize every category in the Breaking Changes Summary, marking which ones directly apply to the visible project. Keep each item to one line and do not expand into release-note history.\n- **Full migration requests** (user wants complete migration): Follow the complete workflow below.\n- **Comparison questions** (user asks about v1 vs v2 differences): Explain concisely -- v1 uses assembly references and requires removing them first; v2 uses NuGet and just needs a version bump. Both converge on the same v3 packages and breaking changes.\n- **Keep execution project-specific**: For fixes and full migrations, change only patterns found in the visible code\u002Fconfiguration. Broader coverage is reserved for explicit \"what should I expect?\" questions.\n\n## Migration Paths\n\n- **MSTest v1 (assembly reference to QualityTools)**: Remove the assembly reference (Step 2), add v3 NuGet packages (Step 3), fix breaking changes (Step 5).\n- **MSTest v2 (NuGet packages 1.x-2.x)**: Update package versions to 3.x (Step 3), fix breaking changes (Step 5). No assembly reference removal needed.\n\nBoth paths converge at Step 3 -- the same v3 packages and breaking changes apply regardless of starting version.\n\n## Workflow\n\n### Step 1: Assess the project\n\n1. Locate the project first: glob the working directory for `*.csproj`, `*.sln`,\n   `*.slnx`, `Directory.Build.props`, `Directory.Packages.props`, and\n   `*.testsettings`. Do this before asking the user anything, and open whatever\n   it returns at exactly the path it reported (see the note under Inputs).\n2. In one discovery pass, batch-read project and central configuration files, search for affected APIs\u002Fsettings, and identify which MSTest version is currently in use:\n   - **Assembly reference**: Look for `Microsoft.VisualStudio.QualityTools.UnitTestFramework` in project references -> MSTest v1\n   - **NuGet packages**: Check `MSTest.TestFramework` and `MSTest.TestAdapter` package versions -> v1 if 1.x, v2 if 2.x\n3. Check whether the target framework is dropped in v3 (see Step 4).\n4. Run the existing test command. Record discovered, passed, failed, and skipped counts as the parity baseline.\n\n### Step 2: Remove v1 assembly references (if applicable)\n\nIf the project uses MSTest v1 via assembly references:\n\n1. Remove the reference to `Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll`\n   - In SDK-style projects, remove the `\u003CReference>` element from the `.csproj`\n   - In non-SDK-style projects, remove via Visual Studio Solution Explorer -> References -> right-click -> Remove\n2. Save the project file\n\n### Step 3: Update packages to MSTest v3\n\nUse one package model; do not leave duplicate framework\u002Fadapter references.\n\n**Default -- install the MSTest metapackage:**\n\nRemove individual `MSTest.TestFramework` and `MSTest.TestAdapter` package references and replace with the unified `MSTest` metapackage:\n\n```xml\n\u003CPackageReference Include=\"MSTest\" Version=\"3.8.0\" \u002F>\n```\n\nKeep `Microsoft.NET.Test.Sdk` when the project remains on VSTest, but update it to a version compatible with the selected MSTest release. For example, `MSTest` 3.8.0 requires `Microsoft.NET.Test.Sdk` 17.13.0 or later; leaving an older explicit version causes `NU1605`. If package versions are centrally managed, update `Directory.Packages.props` rather than adding inline versions.\n\n**Use MSTest.Sdk only when the user requests it or the repository already standardizes on it (SDK-style projects only):**\n\nChange `\u003CProject Sdk=\"Microsoft.NET.Sdk\">` to `\u003CProject Sdk=\"MSTest.Sdk\u002F3.8.0\">`. MSTest.Sdk automatically provides the MSTest framework, adapter, and analyzers.\n\n> **Important**: MSTest.Sdk defaults to Microsoft.Testing.Platform (MTP). When preserving VSTest, set `\u003CUseVSTest>true\u003C\u002FUseVSTest>`; the SDK then supplies the required `Microsoft.NET.Test.Sdk` reference. Do not switch runners merely as a side effect of the framework upgrade.\n\nWhen switching to MSTest.Sdk, remove these (SDK provides them automatically):\n\n- **Packages**: `MSTest`, `MSTest.TestFramework`, `MSTest.TestAdapter`, `MSTest.Analyzers`, `Microsoft.NET.Test.Sdk`\n- **Properties**: `\u003CEnableMSTestRunner>`, `\u003COutputType>Exe\u003C\u002FOutputType>`, `\u003CIsPackable>false\u003C\u002FIsPackable>`, `\u003CIsTestProject>true\u003C\u002FIsTestProject>`\n\n### Step 4: Update target frameworks if needed\n\nMSTest v3 supports .NET 6+, .NET Core 3.1, .NET Framework 4.6.2+, .NET Standard 2.0, UWP 16299+, and WinUI 18362+. .NET Core 3.1 is end-of-life but remains supported by MSTest v3; preserve it during this framework-only migration and recommend a separate runtime upgrade. If the project targets a framework version dropped by MSTest v3, update to a supported one:\n\n| Dropped | Recommended replacement |\n|---------|------------------------|\n| .NET 5 | .NET 8.0 (current LTS) or .NET 6+ |\n| .NET Framework \u003C 4.6.2 | .NET Framework 4.6.2 |\n| .NET Standard 1.0 | .NET Standard 2.0 |\n| UWP \u003C 16299 | UWP 16299 |\n| WinUI \u003C 18362 | WinUI 18362 |\n\n> **Note**: .NET 6, .NET 8, and .NET 9 are all supported by MSTest v3. Do not change TFMs that are already supported.\n\n### Step 5: Resolve build errors and breaking changes\n\nSearch the supplied files first and fix only breaking changes that are present.\nA successful build does not prove compatibility; some failures surface only as\nanalyzer warnings or during test execution.\n\n**Assertion overloads** -- MSTest v3 replaced `Assert.AreEqual(object, object)` and `AreNotEqual(object, object)` with the generic `AreEqual\u003CT>(T?, T?)`. This breaks **only** where `T` can no longer be inferred, which the compiler reports as `CS0411` (or `CS1503` for unrelated argument types):\n\n```csharp\n\u002F\u002F Breaks -- string and int have no common inferred type:\nAssert.AreEqual(referenceCode, numericId);   \u002F\u002F CS0411\n\u002F\u002F Fix -- name the type argument explicitly:\nAssert.AreEqual\u003Cobject>(referenceCode, numericId);\n```\n\nTwo `object`-typed arguments still infer `T = object` and compile untouched, as do\nordinary typed assertions like `Assert.AreEqual(\"A-3\", order.Reference)`. **Fix only\nthe call sites the compiler rejects.** Widening every assertion in the file to\n`\u003Cobject>` also compiles, so nothing will flag it -- but it discards the type\nchecking v3 added, which is the entire point of the change.\n\n**DataRow strict type matching** -- argument types must match parameter types\nexactly. This is **not** a compile error: the row builds (with `MSTEST0014`) and\nfails at run time with \"Test data doesn't match method parameters\".\n\n```csharp\n\u002F\u002F Fails at run time: 1L (long) does not bind to an int parameter -> use 1\n\u002F\u002F Fails at run time: 1.0 (double) does not bind to a float parameter -> use 1.0f\n\u002F\u002F Still binds: 1 (int) to a long parameter -- widening conversions are accepted\n```\n\nPreserve method parameter types unless independently wrong. `dotnet build` may\nsucceed with `MSTEST0014`; run the test to prove each row binds and executes.\n\n**Rows with more than 16 arguments** -- leave them alone unless the compiler\nactually emits `CS1729`. The cap existed only in 3.0.1\u002F3.0.2 (removed in 3.0.3),\nso wrapping extras in an `object[]`, casting to `object`, or splitting the method\njust rewrites a correct test.\n\n**Timeout behavior** -- unified across .NET Core and .NET Framework. Verify `[Timeout]` values still work.\n\n### Step 6: Replace .testsettings with .runsettings\n\nThe `.testsettings` file and `\u003CLegacySettings>` are no longer supported in MSTest v3. **Delete the `.testsettings` file** and create a `.runsettings` file -- do not keep both. Consolidate all MSTest configuration under one `\u003CMSTest>` element; do not create an `\u003CMSTestV2>` section.\n\nKey mappings:\n\n| .testsettings | .runsettings equivalent |\n|---|---|\n| `TestTimeout` property | `\u003CMSTest>\u003CTestTimeout>30000\u003C\u002FTestTimeout>\u003C\u002FMSTest>` |\n| Deployment config | `\u003CMSTest>\u003CDeploymentEnabled>true\u003C\u002FDeploymentEnabled>\u003C\u002FMSTest>` or remove |\n| Assembly resolution settings | Remove -- not needed in modern .NET |\n| Data collectors | `\u003CDataCollectionRunSettings>\u003CDataCollectors>` section |\n\n> **Important**: Map timeout to `\u003CMSTest>\u003CTestTimeout>` (per-test), **not** `\u003CTestSessionTimeout>` (session-wide). Remove `\u003CLegacySettings>` entirely.\n\n### Step 7: Verify\n\n1. Run the same test command, filter, and configuration used for the baseline. `dotnet test` builds by default; run a separate build only to isolate a compilation failure.\n2. Compare discovered, passed, failed, and skipped counts to the pre-migration baseline.\n3. Investigate every count difference; do not accept silently dropped tests or data rows.\n4. Confirm no QualityTools reference, 1.x\u002F2.x MSTest package, `.testsettings`, or `\u003CLegacySettings>` remains.\n\n## Validation\n\n- [ ] MSTest v3 packages (or MSTest.Sdk) correctly referenced; v1\u002Fv2 references removed\n- [ ] Project builds with zero errors\n- [ ] All tests pass (`dotnet test`) -- compare pass\u002Ffail counts to pre-migration baseline\n- [ ] `.testsettings` replaced with `.runsettings` (if applicable)\n\n## Next Step\n\nAfter v3 migration, use `migrate-mstest-v3-to-v4` for MSTest v4.\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Replying with \"which project?\" when the workspace already holds one | Glob for `*.csproj`\u002F`*.sln`\u002F`*.slnx` and read what is there |\n| \"No project on disk\" right after a search listed project files | The path was rebuilt under the skill's base directory. Reopen using the literal search result; never scaffold a replacement project |\n| Rewriting a `DataRow` with more than 16 arguments | Valid on 3.0.3+, which is every current 3.x. Only 3.0.1\u002F3.0.2 ever rejected it |\n| Non-MSTest.Sdk VSTest project missing `Microsoft.NET.Test.Sdk` | Add the package reference for VSTest discovery |\n| MSTest.Sdk tests not found by `vstest.console` | Set `\u003CUseVSTest>true\u003C\u002FUseVSTest>`; MSTest.Sdk then supplies `Microsoft.NET.Test.Sdk` |\n",{"data":38,"body":39},{"name":4,"description":6,"license":28},{"type":40,"children":41},"root",[42,51,65,72,141,147,185,191,210,216,341,381,387,392,885,891,1070,1076,1099,1104,1110,1117,1230,1236,1241,1285,1291,1296,1304,1330,1351,1393,1401,1422,1450,1455,1534,1540,1545,1632,1645,1651,1656,1716,1760,1801,1825,1856,1875,1907,1924,1930,1984,1989,2084,2125,2131,2174,2180,2245,2251,2263,2269,2406],{"type":43,"tag":44,"props":45,"children":47},"element","h1",{"id":46},"mstest-v1v2-v3-migration",[48],{"type":49,"value":50},"text","MSTest v1\u002Fv2 -> v3 Migration",{"type":43,"tag":52,"props":53,"children":54},"p",{},[55,57,63],{"type":49,"value":56},"Migrate a test project from MSTest v1 (assembly references) or MSTest v2 (NuGet 1.x-2.x) to MSTest v3. MSTest v3 is ",{"type":43,"tag":58,"props":59,"children":60},"strong",{},[61],{"type":49,"value":62},"not binary compatible",{"type":49,"value":64}," with v1\u002Fv2 -- libraries compiled against v1\u002Fv2 must be recompiled.",{"type":43,"tag":66,"props":67,"children":69},"h2",{"id":68},"when-to-use",[70],{"type":49,"value":71},"When to Use",{"type":43,"tag":73,"props":74,"children":75},"ul",{},[76,91,112,117,136],{"type":43,"tag":77,"props":78,"children":79},"li",{},[80,82,89],{"type":49,"value":81},"Project references ",{"type":43,"tag":83,"props":84,"children":86},"code",{"className":85},[],[87],{"type":49,"value":88},"Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll",{"type":49,"value":90}," (MSTest v1)",{"type":43,"tag":77,"props":92,"children":93},{},[94,96,102,104,110],{"type":49,"value":95},"Project uses ",{"type":43,"tag":83,"props":97,"children":99},{"className":98},[],[100],{"type":49,"value":101},"MSTest.TestFramework",{"type":49,"value":103}," \u002F ",{"type":43,"tag":83,"props":105,"children":107},{"className":106},[],[108],{"type":49,"value":109},"MSTest.TestAdapter",{"type":49,"value":111}," NuGet 1.x or 2.x",{"type":43,"tag":77,"props":113,"children":114},{},[115],{"type":49,"value":116},"Resolving build errors after updating MSTest packages from v1\u002Fv2 to v3 -- including when the packages already read 3.x and only the source or settings still need fixing",{"type":43,"tag":77,"props":118,"children":119},{},[120,122,128,130],{"type":49,"value":121},"Replacing ",{"type":43,"tag":83,"props":123,"children":125},{"className":124},[],[126],{"type":49,"value":127},".testsettings",{"type":49,"value":129}," with ",{"type":43,"tag":83,"props":131,"children":133},{"className":132},[],[134],{"type":49,"value":135},".runsettings",{"type":43,"tag":77,"props":137,"children":138},{},[139],{"type":49,"value":140},"Adopting MSTest.Sdk or in-assembly parallel execution",{"type":43,"tag":66,"props":142,"children":144},{"id":143},"when-not-to-use",[145],{"type":49,"value":146},"When Not to Use",{"type":43,"tag":73,"props":148,"children":149},{},[150,169,180],{"type":43,"tag":77,"props":151,"children":152},{},[153,155,160,161,167],{"type":49,"value":154},"Project already on MSTest v3 with no migration-related build errors and no leftover ",{"type":43,"tag":83,"props":156,"children":158},{"className":157},[],[159],{"type":49,"value":127},{"type":49,"value":103},{"type":43,"tag":83,"props":162,"children":164},{"className":163},[],[165],{"type":49,"value":166},"\u003CLegacySettings>",{"type":49,"value":168}," (fully migrated)",{"type":43,"tag":77,"props":170,"children":171},{},[172,174],{"type":49,"value":173},"Upgrading v3 to v4 -- use ",{"type":43,"tag":83,"props":175,"children":177},{"className":176},[],[178],{"type":49,"value":179},"migrate-mstest-v3-to-v4",{"type":43,"tag":77,"props":181,"children":182},{},[183],{"type":49,"value":184},"Migrating between frameworks (MSTest to xUnit\u002FNUnit)",{"type":43,"tag":66,"props":186,"children":188},{"id":187},"boundary-gate",[189],{"type":49,"value":190},"Boundary Gate",{"type":43,"tag":52,"props":192,"children":193},{},[194,196,201,203,208],{"type":49,"value":195},"Check package versions before any edit. If all MSTest references are already 3.x,\nno v1\u002Fv2-to-v3 error is reported, and no ",{"type":43,"tag":83,"props":197,"children":199},{"className":198},[],[200],{"type":49,"value":127},{"type":49,"value":202}," or ",{"type":43,"tag":83,"props":204,"children":206},{"className":205},[],[207],{"type":49,"value":166},{"type":49,"value":209},"\nremains, state that migration is complete and make no changes. A 3.x package\nversion alone does not end the migration -- leftover v1\u002Fv2-era settings files or\nbreaking-change errors are still in scope. Do not consolidate working v3 packages\ninto the metapackage. Run the existing tests only if verification was requested.\nThis overrides all steps below.",{"type":43,"tag":66,"props":211,"children":213},{"id":212},"inputs",[214],{"type":49,"value":215},"Inputs",{"type":43,"tag":217,"props":218,"children":219},"table",{},[220,244],{"type":43,"tag":221,"props":222,"children":223},"thead",{},[224],{"type":43,"tag":225,"props":226,"children":227},"tr",{},[228,234,239],{"type":43,"tag":229,"props":230,"children":231},"th",{},[232],{"type":49,"value":233},"Input",{"type":43,"tag":229,"props":235,"children":236},{},[237],{"type":49,"value":238},"Required",{"type":43,"tag":229,"props":240,"children":241},{},[242],{"type":49,"value":243},"Description",{"type":43,"tag":245,"props":246,"children":247},"tbody",{},[248,291,316],{"type":43,"tag":225,"props":249,"children":250},{},[251,257,262],{"type":43,"tag":252,"props":253,"children":254},"td",{},[255],{"type":49,"value":256},"Project or solution path",{"type":43,"tag":252,"props":258,"children":259},{},[260],{"type":49,"value":261},"No",{"type":43,"tag":252,"props":263,"children":264},{},[265,267,273,275,281,283,289],{"type":49,"value":266},"The ",{"type":43,"tag":83,"props":268,"children":270},{"className":269},[],[271],{"type":49,"value":272},".csproj",{"type":49,"value":274},", ",{"type":43,"tag":83,"props":276,"children":278},{"className":277},[],[279],{"type":49,"value":280},".sln",{"type":49,"value":282},", or ",{"type":43,"tag":83,"props":284,"children":286},{"className":285},[],[287],{"type":49,"value":288},".slnx",{"type":49,"value":290}," entry point. Glob the working directory for it; ask only if nothing is found or several test projects make the target ambiguous",{"type":43,"tag":225,"props":292,"children":293},{},[294,299,303],{"type":43,"tag":252,"props":295,"children":296},{},[297],{"type":49,"value":298},"Build command",{"type":43,"tag":252,"props":300,"children":301},{},[302],{"type":49,"value":261},{"type":43,"tag":252,"props":304,"children":305},{},[306,308,314],{"type":49,"value":307},"How to build (e.g., ",{"type":43,"tag":83,"props":309,"children":311},{"className":310},[],[312],{"type":49,"value":313},"dotnet build",{"type":49,"value":315},", a repo build script). Auto-detect if not provided",{"type":43,"tag":225,"props":317,"children":318},{},[319,324,328],{"type":43,"tag":252,"props":320,"children":321},{},[322],{"type":49,"value":323},"Test command",{"type":43,"tag":252,"props":325,"children":326},{},[327],{"type":49,"value":261},{"type":43,"tag":252,"props":329,"children":330},{},[331,333,339],{"type":49,"value":332},"How to run tests (e.g., ",{"type":43,"tag":83,"props":334,"children":336},{"className":335},[],[337],{"type":49,"value":338},"dotnet test",{"type":49,"value":340},"). Auto-detect if not provided",{"type":43,"tag":342,"props":343,"children":344},"blockquote",{},[345,355],{"type":43,"tag":52,"props":346,"children":347},{},[348,353],{"type":43,"tag":58,"props":349,"children":350},{},[351],{"type":49,"value":352},"Never open by asking for the project path.",{"type":49,"value":354}," A user describing their project\nin prose is asking a question, not withholding a file -- look on disk first. If\nthere is genuinely no project file, answer for the setup they described rather\nthan replying with only a question.",{"type":43,"tag":52,"props":356,"children":357},{},[358,363,365,371,373,379],{"type":43,"tag":58,"props":359,"children":360},{},[361],{"type":49,"value":362},"Open the paths exactly as the search returned them.",{"type":49,"value":364}," A glob that answers\n",{"type":43,"tag":83,"props":366,"children":368},{"className":367},[],[369],{"type":49,"value":370},".\u002FTestProject.csproj",{"type":49,"value":372}," means the file is there, relative to the working\ndirectory -- read it at that path. Do not rebuild it into an absolute path\nunder this skill's own base directory: that directory holds ",{"type":43,"tag":83,"props":374,"children":376},{"className":375},[],[377],{"type":49,"value":378},"SKILL.md",{"type":49,"value":380},", not the\nuser's project, so the read fails and the project looks missing when it is not.\nIf a file you just found fails to open, the path you constructed is wrong --\nretry with the literal result. Never conclude \"there is no project on disk\"\nwhile a search is still reporting project files, and never scaffold a\nsubstitute project from the prose description as a workaround.",{"type":43,"tag":66,"props":382,"children":384},{"id":383},"breaking-changes-summary",[385],{"type":49,"value":386},"Breaking Changes Summary",{"type":43,"tag":52,"props":388,"children":389},{},[390],{"type":49,"value":391},"MSTest v3 introduces these breaking changes from v1\u002Fv2. Address only the ones relevant to the project:",{"type":43,"tag":217,"props":393,"children":394},{},[395,416],{"type":43,"tag":221,"props":396,"children":397},{},[398],{"type":43,"tag":225,"props":399,"children":400},{},[401,406,411],{"type":43,"tag":229,"props":402,"children":403},{},[404],{"type":49,"value":405},"Breaking Change",{"type":43,"tag":229,"props":407,"children":408},{},[409],{"type":49,"value":410},"Impact",{"type":43,"tag":229,"props":412,"children":413},{},[414],{"type":49,"value":415},"Fix",{"type":43,"tag":245,"props":417,"children":418},{},[419,519,623,676,719,745,763,781,799,823,841,867],{"type":43,"tag":225,"props":420,"children":421},{},[422,441,484],{"type":43,"tag":252,"props":423,"children":424},{},[425,431,433,439],{"type":43,"tag":83,"props":426,"children":428},{"className":427},[],[429],{"type":49,"value":430},"Assert.AreEqual(object, object)",{"type":49,"value":432}," overload removed; only ",{"type":43,"tag":83,"props":434,"children":436},{"className":435},[],[437],{"type":49,"value":438},"AreEqual\u003CT>(T?, T?)",{"type":49,"value":440}," remains",{"type":43,"tag":252,"props":442,"children":443},{},[444,453,455,461,463,469,471,477,479],{"type":43,"tag":58,"props":445,"children":446},{},[447],{"type":43,"tag":83,"props":448,"children":450},{"className":449},[],[451],{"type":49,"value":452},"CS0411",{"type":49,"value":454}," (type arguments cannot be inferred) or ",{"type":43,"tag":83,"props":456,"children":458},{"className":457},[],[459],{"type":49,"value":460},"CS1503",{"type":49,"value":462}," -- but only where the two arguments have no common inferred type. Two ",{"type":43,"tag":83,"props":464,"children":466},{"className":465},[],[467],{"type":49,"value":468},"object",{"type":49,"value":470},"-typed arguments still infer ",{"type":43,"tag":83,"props":472,"children":474},{"className":473},[],[475],{"type":49,"value":476},"T = object",{"type":49,"value":478}," and ",{"type":43,"tag":58,"props":480,"children":481},{},[482],{"type":49,"value":483},"compile unchanged",{"type":43,"tag":252,"props":485,"children":486},{},[487,489,495,497,503,504,510,511,517],{"type":49,"value":488},"Add the explicit type argument on the failing call: ",{"type":43,"tag":83,"props":490,"children":492},{"className":491},[],[493],{"type":49,"value":494},"Assert.AreEqual\u003Cobject>(expected, actual)",{"type":49,"value":496},". Same for ",{"type":43,"tag":83,"props":498,"children":500},{"className":499},[],[501],{"type":49,"value":502},"AreNotEqual",{"type":49,"value":274},{"type":43,"tag":83,"props":505,"children":507},{"className":506},[],[508],{"type":49,"value":509},"AreSame",{"type":49,"value":274},{"type":43,"tag":83,"props":512,"children":514},{"className":513},[],[515],{"type":49,"value":516},"AreNotSame",{"type":49,"value":518},". Leave assertions that already compile alone",{"type":43,"tag":225,"props":520,"children":521},{},[522,533,595],{"type":43,"tag":252,"props":523,"children":524},{},[525,531],{"type":43,"tag":83,"props":526,"children":528},{"className":527},[],[529],{"type":49,"value":530},"DataRow",{"type":49,"value":532}," strict type matching",{"type":43,"tag":252,"props":534,"children":535},{},[536,541,543,549,551,557,559,565,567,573,574,579,580,586,587,593],{"type":43,"tag":58,"props":537,"children":538},{},[539],{"type":49,"value":540},"Not a compile error.",{"type":49,"value":542}," Builds with analyzer warning ",{"type":43,"tag":83,"props":544,"children":546},{"className":545},[],[547],{"type":49,"value":548},"MSTEST0014",{"type":49,"value":550}," and fails at run time with \"Test data doesn't match method parameters\". Widening conversions (",{"type":43,"tag":83,"props":552,"children":554},{"className":553},[],[555],{"type":49,"value":556},"int",{"type":49,"value":558}," -> ",{"type":43,"tag":83,"props":560,"children":562},{"className":561},[],[563],{"type":49,"value":564},"long",{"type":49,"value":566},") still bind; narrowing or unrelated types (",{"type":43,"tag":83,"props":568,"children":570},{"className":569},[],[571],{"type":49,"value":572},"1L",{"type":49,"value":558},{"type":43,"tag":83,"props":575,"children":577},{"className":576},[],[578],{"type":49,"value":556},{"type":49,"value":274},{"type":43,"tag":83,"props":581,"children":583},{"className":582},[],[584],{"type":49,"value":585},"1.0",{"type":49,"value":558},{"type":43,"tag":83,"props":588,"children":590},{"className":589},[],[591],{"type":49,"value":592},"float",{"type":49,"value":594},") do not",{"type":43,"tag":252,"props":596,"children":597},{},[598,600,606,608,613,615,621],{"type":49,"value":599},"Change literals to the exact parameter type: ",{"type":43,"tag":83,"props":601,"children":603},{"className":602},[],[604],{"type":49,"value":605},"1",{"type":49,"value":607}," for int, ",{"type":43,"tag":83,"props":609,"children":611},{"className":610},[],[612],{"type":49,"value":572},{"type":49,"value":614}," for long, ",{"type":43,"tag":83,"props":616,"children":618},{"className":617},[],[619],{"type":49,"value":620},"1.0f",{"type":49,"value":622}," for float. Run the tests -- a green build proves nothing here",{"type":43,"tag":225,"props":624,"children":625},{},[626,641,657],{"type":43,"tag":252,"props":627,"children":628},{},[629,634,636],{"type":43,"tag":83,"props":630,"children":632},{"className":631},[],[633],{"type":49,"value":530},{"type":49,"value":635}," limited to 16 arguments -- ",{"type":43,"tag":58,"props":637,"children":638},{},[639],{"type":49,"value":640},"3.0.1 and 3.0.2 only",{"type":43,"tag":252,"props":642,"children":643},{},[644,650,652],{"type":43,"tag":83,"props":645,"children":647},{"className":646},[],[648],{"type":49,"value":649},"CS1729",{"type":49,"value":651}," on those two versions; the limit was removed again in ",{"type":43,"tag":58,"props":653,"children":654},{},[655],{"type":49,"value":656},"3.0.3",{"type":43,"tag":252,"props":658,"children":659},{},[660,662,667,669,674],{"type":49,"value":661},"On 3.0.3+ (every current 3.x) a longer row is valid -- ",{"type":43,"tag":58,"props":663,"children":664},{},[665],{"type":49,"value":666},"leave it unchanged",{"type":49,"value":668},". Do not wrap extras in an array, cast to ",{"type":43,"tag":83,"props":670,"children":672},{"className":671},[],[673],{"type":49,"value":468},{"type":49,"value":675},", or split the test. Only a project pinned to 3.0.1\u002F3.0.2 needs action: update to 3.0.3+",{"type":43,"tag":225,"props":677,"children":678},{},[679,695,700],{"type":43,"tag":252,"props":680,"children":681},{},[682,687,688,693],{"type":43,"tag":83,"props":683,"children":685},{"className":684},[],[686],{"type":49,"value":127},{"type":49,"value":103},{"type":43,"tag":83,"props":689,"children":691},{"className":690},[],[692],{"type":49,"value":166},{"type":49,"value":694}," no longer supported",{"type":43,"tag":252,"props":696,"children":697},{},[698],{"type":49,"value":699},"Settings silently ignored",{"type":43,"tag":252,"props":701,"children":702},{},[703,705,710,712,717],{"type":49,"value":704},"Delete ",{"type":43,"tag":83,"props":706,"children":708},{"className":707},[],[709],{"type":49,"value":127},{"type":49,"value":711},", create ",{"type":43,"tag":83,"props":713,"children":715},{"className":714},[],[716],{"type":49,"value":135},{"type":49,"value":718}," with equivalent config",{"type":43,"tag":225,"props":720,"children":721},{},[722,727,740],{"type":43,"tag":252,"props":723,"children":724},{},[725],{"type":49,"value":726},"Timeout behavior unified across .NET Core \u002F Framework",{"type":43,"tag":252,"props":728,"children":729},{},[730,732,738],{"type":49,"value":731},"Tests with ",{"type":43,"tag":83,"props":733,"children":735},{"className":734},[],[736],{"type":49,"value":737},"[Timeout]",{"type":49,"value":739}," may behave differently",{"type":43,"tag":252,"props":741,"children":742},{},[743],{"type":49,"value":744},"Verify timeout values; adjust if needed",{"type":43,"tag":225,"props":746,"children":747},{},[748,753,758],{"type":43,"tag":252,"props":749,"children":750},{},[751],{"type":49,"value":752},"Dropped target frameworks: .NET 5, .NET Fx \u003C 4.6.2, netstandard1.0, UWP \u003C 16299, WinUI \u003C 18362",{"type":43,"tag":252,"props":754,"children":755},{},[756],{"type":49,"value":757},"Build error",{"type":43,"tag":252,"props":759,"children":760},{},[761],{"type":49,"value":762},"Update TFM: .NET 5 -> net8.0 (LTS) or net6.0+, netfx -> net462+, netstandard1.0 -> netstandard2.0. Note: net6.0, net8.0, net9.0 are all supported",{"type":43,"tag":225,"props":764,"children":765},{},[766,771,776],{"type":43,"tag":252,"props":767,"children":768},{},[769],{"type":49,"value":770},"Not binary compatible with v1\u002Fv2",{"type":43,"tag":252,"props":772,"children":773},{},[774],{"type":49,"value":775},"Libraries compiled against v1\u002Fv2 must be recompiled",{"type":43,"tag":252,"props":777,"children":778},{},[779],{"type":49,"value":780},"Recompile all dependencies against v3",{"type":43,"tag":225,"props":782,"children":783},{},[784,789,794],{"type":43,"tag":252,"props":785,"children":786},{},[787],{"type":49,"value":788},"Test ID generation changed",{"type":43,"tag":252,"props":790,"children":791},{},[792],{"type":49,"value":793},"Playlists, filters, or CI history keyed by test ID may reset",{"type":43,"tag":252,"props":795,"children":796},{},[797],{"type":49,"value":798},"Re-baseline IDs and verify affected filters",{"type":43,"tag":225,"props":800,"children":801},{},[802,813,818],{"type":43,"tag":252,"props":803,"children":804},{},[805,811],{"type":43,"tag":83,"props":806,"children":808},{"className":807},[],[809],{"type":49,"value":810},"TargetInvocationException",{"type":49,"value":812}," is unwrapped",{"type":43,"tag":252,"props":814,"children":815},{},[816],{"type":49,"value":817},"Tests or infrastructure expecting the wrapper observe the inner exception",{"type":43,"tag":252,"props":819,"children":820},{},[821],{"type":49,"value":822},"Update exception handling to expect the underlying exception",{"type":43,"tag":225,"props":824,"children":825},{},[826,831,836],{"type":43,"tag":252,"props":827,"children":828},{},[829],{"type":49,"value":830},"Initialization\u002Fcleanup messages now attach to test results",{"type":43,"tag":252,"props":832,"children":833},{},[834],{"type":49,"value":835},"The first\u002Flast test output may gain lifecycle messages that were previously absent",{"type":43,"tag":252,"props":837,"children":838},{},[839],{"type":49,"value":840},"Update log processing and inspect the first\u002Flast test results",{"type":43,"tag":225,"props":842,"children":843},{},[844,849,854],{"type":43,"tag":252,"props":845,"children":846},{},[847],{"type":49,"value":848},"Deployment directory behavior is unified across TFMs",{"type":43,"tag":252,"props":850,"children":851},{},[852],{"type":49,"value":853},"Tests with hard-coded deployment paths may fail",{"type":43,"tag":252,"props":855,"children":856},{},[857,859,865],{"type":49,"value":858},"Use ",{"type":43,"tag":83,"props":860,"children":862},{"className":861},[],[863],{"type":49,"value":864},"TestContext.DeploymentDirectory",{"type":49,"value":866}," or deployed-item paths instead of assumptions",{"type":43,"tag":225,"props":868,"children":869},{},[870,875,880],{"type":43,"tag":252,"props":871,"children":872},{},[873],{"type":49,"value":874},"Nullable annotations were added",{"type":43,"tag":252,"props":876,"children":877},{},[878],{"type":49,"value":879},"Nullable-enabled projects may gain warnings",{"type":43,"tag":252,"props":881,"children":882},{},[883],{"type":49,"value":884},"Fix the warnings without suppressing unrelated diagnostics",{"type":43,"tag":66,"props":886,"children":888},{"id":887},"response-guidelines",[889],{"type":49,"value":890},"Response Guidelines",{"type":43,"tag":73,"props":892,"children":893},{},[894,904,914,924,934,944,995,1005,1030,1040,1050,1060],{"type":43,"tag":77,"props":895,"children":896},{},[897,902],{"type":43,"tag":58,"props":898,"children":899},{},[900],{"type":49,"value":901},"Always identify the current version first",{"type":49,"value":903},": Before recommending any migration steps, explicitly state the current MSTest version detected in the project (e.g., \"Your project uses MSTest v2 (2.2.10)\" or \"This is an MSTest v1 project using QualityTools assembly references\"). This grounds the migration advice and confirms you've read the project files.",{"type":43,"tag":77,"props":905,"children":906},{},[907,912],{"type":43,"tag":58,"props":908,"children":909},{},[910],{"type":49,"value":911},"Require project evidence, but gather it yourself",{"type":49,"value":913},": Do not assume v1\u002Fv2 from the wording alone -- read the project or central package files and classify the source as QualityTools\u002Fv1, NuGet 1.x, or NuGet 2.x. Gather that evidence from the working directory rather than asking the user for it. If the project is already on v3+ with no v1\u002Fv2 leftovers, stop and route to the appropriate skill.",{"type":43,"tag":77,"props":915,"children":916},{},[917,922],{"type":43,"tag":58,"props":918,"children":919},{},[920],{"type":49,"value":921},"Preserve the test platform",{"type":49,"value":923},": Keep VSTest or MTP unchanged during the framework upgrade unless the user separately requests a runner migration.",{"type":43,"tag":77,"props":925,"children":926},{},[927,932],{"type":43,"tag":58,"props":928,"children":929},{},[930],{"type":49,"value":931},"Execute full migrations",{"type":49,"value":933},": When the user asks you to migrate or upgrade the project, edit the files, build, and run tests. Do not stop after listing breaking changes. Advice-only responses are appropriate only when the user asks what to expect.",{"type":43,"tag":77,"props":935,"children":936},{},[937,942],{"type":43,"tag":58,"props":938,"children":939},{},[940],{"type":49,"value":941},"Focused fix requests",{"type":49,"value":943}," (user has specific compilation errors after upgrading): Address only the relevant breaking change from the table above. Show a concise before\u002Fafter fix. Do not walk through the full migration workflow.",{"type":43,"tag":77,"props":945,"children":946},{},[947,952,954,959,961,966,968,973,974,979,981,986,988,993],{"type":43,"tag":58,"props":948,"children":949},{},[950],{"type":49,"value":951},"DataRow fix requests",{"type":49,"value":953},": Compare every supplied ",{"type":43,"tag":83,"props":955,"children":957},{"className":956},[],[958],{"type":49,"value":530},{"type":49,"value":960}," with its method signature. Mismatches can build with only ",{"type":43,"tag":83,"props":962,"children":964},{"className":963},[],[965],{"type":49,"value":548},{"type":49,"value":967}," and fail during test execution. Preserve the method contract and normally fix the literal (",{"type":43,"tag":83,"props":969,"children":971},{"className":970},[],[972],{"type":49,"value":572},{"type":49,"value":558},{"type":43,"tag":83,"props":975,"children":977},{"className":976},[],[978],{"type":49,"value":605},{"type":49,"value":980}," for ",{"type":43,"tag":83,"props":982,"children":984},{"className":983},[],[985],{"type":49,"value":556},{"type":49,"value":987},"), then run the affected tests. ",{"type":43,"tag":58,"props":989,"children":990},{},[991],{"type":49,"value":992},"Change only the rows that are actually wrong.",{"type":49,"value":994}," Argument count is not itself a defect on 3.0.3+, so leave a long row alone unless the compiler rejects it.",{"type":43,"tag":77,"props":996,"children":997},{},[998,1003],{"type":43,"tag":58,"props":999,"children":1000},{},[1001],{"type":49,"value":1002},"Change nothing on suspicion -- confirm the error first",{"type":49,"value":1004},": When you believe a construct is unsupported, build and read the actual diagnostic before editing it. If it compiles, this version supports it and it needs no change. Rewriting valid code to dodge a limit the project is not subject to is a defect, not caution.",{"type":43,"tag":77,"props":1006,"children":1007},{},[1008,1013,1015,1020,1022,1028],{"type":43,"tag":58,"props":1009,"children":1010},{},[1011],{"type":49,"value":1012},"Specific feature migration",{"type":49,"value":1014}," (user asks about one aspect like .testsettings, DataRow, or assertions): Address only that feature, but handle every active setting or affected usage in the supplied files. For ",{"type":43,"tag":83,"props":1016,"children":1018},{"className":1017},[],[1019],{"type":49,"value":127},{"type":49,"value":1021},", put all MSTest settings under one ",{"type":43,"tag":83,"props":1023,"children":1025},{"className":1024},[],[1026],{"type":49,"value":1027},"\u003CMSTest>",{"type":49,"value":1029}," element, map requested deployment, per-test timeout, data collector, and other active configuration, and do not add a session-wide timeout. Do not walk through unrelated breaking changes.",{"type":43,"tag":77,"props":1031,"children":1032},{},[1033,1038],{"type":43,"tag":58,"props":1034,"children":1035},{},[1036],{"type":49,"value":1037},"\"What to expect\" questions",{"type":49,"value":1039}," (user asks about breaking changes before upgrading): First state the concrete package update needed to reach v3, then summarize every category in the Breaking Changes Summary, marking which ones directly apply to the visible project. Keep each item to one line and do not expand into release-note history.",{"type":43,"tag":77,"props":1041,"children":1042},{},[1043,1048],{"type":43,"tag":58,"props":1044,"children":1045},{},[1046],{"type":49,"value":1047},"Full migration requests",{"type":49,"value":1049}," (user wants complete migration): Follow the complete workflow below.",{"type":43,"tag":77,"props":1051,"children":1052},{},[1053,1058],{"type":43,"tag":58,"props":1054,"children":1055},{},[1056],{"type":49,"value":1057},"Comparison questions",{"type":49,"value":1059}," (user asks about v1 vs v2 differences): Explain concisely -- v1 uses assembly references and requires removing them first; v2 uses NuGet and just needs a version bump. Both converge on the same v3 packages and breaking changes.",{"type":43,"tag":77,"props":1061,"children":1062},{},[1063,1068],{"type":43,"tag":58,"props":1064,"children":1065},{},[1066],{"type":49,"value":1067},"Keep execution project-specific",{"type":49,"value":1069},": For fixes and full migrations, change only patterns found in the visible code\u002Fconfiguration. Broader coverage is reserved for explicit \"what should I expect?\" questions.",{"type":43,"tag":66,"props":1071,"children":1073},{"id":1072},"migration-paths",[1074],{"type":49,"value":1075},"Migration Paths",{"type":43,"tag":73,"props":1077,"children":1078},{},[1079,1089],{"type":43,"tag":77,"props":1080,"children":1081},{},[1082,1087],{"type":43,"tag":58,"props":1083,"children":1084},{},[1085],{"type":49,"value":1086},"MSTest v1 (assembly reference to QualityTools)",{"type":49,"value":1088},": Remove the assembly reference (Step 2), add v3 NuGet packages (Step 3), fix breaking changes (Step 5).",{"type":43,"tag":77,"props":1090,"children":1091},{},[1092,1097],{"type":43,"tag":58,"props":1093,"children":1094},{},[1095],{"type":49,"value":1096},"MSTest v2 (NuGet packages 1.x-2.x)",{"type":49,"value":1098},": Update package versions to 3.x (Step 3), fix breaking changes (Step 5). No assembly reference removal needed.",{"type":43,"tag":52,"props":1100,"children":1101},{},[1102],{"type":49,"value":1103},"Both paths converge at Step 3 -- the same v3 packages and breaking changes apply regardless of starting version.",{"type":43,"tag":66,"props":1105,"children":1107},{"id":1106},"workflow",[1108],{"type":49,"value":1109},"Workflow",{"type":43,"tag":1111,"props":1112,"children":1114},"h3",{"id":1113},"step-1-assess-the-project",[1115],{"type":49,"value":1116},"Step 1: Assess the project",{"type":43,"tag":1118,"props":1119,"children":1120},"ol",{},[1121,1171,1220,1225],{"type":43,"tag":77,"props":1122,"children":1123},{},[1124,1126,1132,1133,1139,1141,1147,1148,1154,1155,1161,1163,1169],{"type":49,"value":1125},"Locate the project first: glob the working directory for ",{"type":43,"tag":83,"props":1127,"children":1129},{"className":1128},[],[1130],{"type":49,"value":1131},"*.csproj",{"type":49,"value":274},{"type":43,"tag":83,"props":1134,"children":1136},{"className":1135},[],[1137],{"type":49,"value":1138},"*.sln",{"type":49,"value":1140},",\n",{"type":43,"tag":83,"props":1142,"children":1144},{"className":1143},[],[1145],{"type":49,"value":1146},"*.slnx",{"type":49,"value":274},{"type":43,"tag":83,"props":1149,"children":1151},{"className":1150},[],[1152],{"type":49,"value":1153},"Directory.Build.props",{"type":49,"value":274},{"type":43,"tag":83,"props":1156,"children":1158},{"className":1157},[],[1159],{"type":49,"value":1160},"Directory.Packages.props",{"type":49,"value":1162},", and\n",{"type":43,"tag":83,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":49,"value":1168},"*.testsettings",{"type":49,"value":1170},". Do this before asking the user anything, and open whatever\nit returns at exactly the path it reported (see the note under Inputs).",{"type":43,"tag":77,"props":1172,"children":1173},{},[1174,1176],{"type":49,"value":1175},"In one discovery pass, batch-read project and central configuration files, search for affected APIs\u002Fsettings, and identify which MSTest version is currently in use:\n",{"type":43,"tag":73,"props":1177,"children":1178},{},[1179,1197],{"type":43,"tag":77,"props":1180,"children":1181},{},[1182,1187,1189,1195],{"type":43,"tag":58,"props":1183,"children":1184},{},[1185],{"type":49,"value":1186},"Assembly reference",{"type":49,"value":1188},": Look for ",{"type":43,"tag":83,"props":1190,"children":1192},{"className":1191},[],[1193],{"type":49,"value":1194},"Microsoft.VisualStudio.QualityTools.UnitTestFramework",{"type":49,"value":1196}," in project references -> MSTest v1",{"type":43,"tag":77,"props":1198,"children":1199},{},[1200,1205,1207,1212,1213,1218],{"type":43,"tag":58,"props":1201,"children":1202},{},[1203],{"type":49,"value":1204},"NuGet packages",{"type":49,"value":1206},": Check ",{"type":43,"tag":83,"props":1208,"children":1210},{"className":1209},[],[1211],{"type":49,"value":101},{"type":49,"value":478},{"type":43,"tag":83,"props":1214,"children":1216},{"className":1215},[],[1217],{"type":49,"value":109},{"type":49,"value":1219}," package versions -> v1 if 1.x, v2 if 2.x",{"type":43,"tag":77,"props":1221,"children":1222},{},[1223],{"type":49,"value":1224},"Check whether the target framework is dropped in v3 (see Step 4).",{"type":43,"tag":77,"props":1226,"children":1227},{},[1228],{"type":49,"value":1229},"Run the existing test command. Record discovered, passed, failed, and skipped counts as the parity baseline.",{"type":43,"tag":1111,"props":1231,"children":1233},{"id":1232},"step-2-remove-v1-assembly-references-if-applicable",[1234],{"type":49,"value":1235},"Step 2: Remove v1 assembly references (if applicable)",{"type":43,"tag":52,"props":1237,"children":1238},{},[1239],{"type":49,"value":1240},"If the project uses MSTest v1 via assembly references:",{"type":43,"tag":1118,"props":1242,"children":1243},{},[1244,1280],{"type":43,"tag":77,"props":1245,"children":1246},{},[1247,1249,1254],{"type":49,"value":1248},"Remove the reference to ",{"type":43,"tag":83,"props":1250,"children":1252},{"className":1251},[],[1253],{"type":49,"value":88},{"type":43,"tag":73,"props":1255,"children":1256},{},[1257,1275],{"type":43,"tag":77,"props":1258,"children":1259},{},[1260,1262,1268,1270],{"type":49,"value":1261},"In SDK-style projects, remove the ",{"type":43,"tag":83,"props":1263,"children":1265},{"className":1264},[],[1266],{"type":49,"value":1267},"\u003CReference>",{"type":49,"value":1269}," element from the ",{"type":43,"tag":83,"props":1271,"children":1273},{"className":1272},[],[1274],{"type":49,"value":272},{"type":43,"tag":77,"props":1276,"children":1277},{},[1278],{"type":49,"value":1279},"In non-SDK-style projects, remove via Visual Studio Solution Explorer -> References -> right-click -> Remove",{"type":43,"tag":77,"props":1281,"children":1282},{},[1283],{"type":49,"value":1284},"Save the project file",{"type":43,"tag":1111,"props":1286,"children":1288},{"id":1287},"step-3-update-packages-to-mstest-v3",[1289],{"type":49,"value":1290},"Step 3: Update packages to MSTest v3",{"type":43,"tag":52,"props":1292,"children":1293},{},[1294],{"type":49,"value":1295},"Use one package model; do not leave duplicate framework\u002Fadapter references.",{"type":43,"tag":52,"props":1297,"children":1298},{},[1299],{"type":43,"tag":58,"props":1300,"children":1301},{},[1302],{"type":49,"value":1303},"Default -- install the MSTest metapackage:",{"type":43,"tag":52,"props":1305,"children":1306},{},[1307,1309,1314,1315,1320,1322,1328],{"type":49,"value":1308},"Remove individual ",{"type":43,"tag":83,"props":1310,"children":1312},{"className":1311},[],[1313],{"type":49,"value":101},{"type":49,"value":478},{"type":43,"tag":83,"props":1316,"children":1318},{"className":1317},[],[1319],{"type":49,"value":109},{"type":49,"value":1321}," package references and replace with the unified ",{"type":43,"tag":83,"props":1323,"children":1325},{"className":1324},[],[1326],{"type":49,"value":1327},"MSTest",{"type":49,"value":1329}," metapackage:",{"type":43,"tag":1331,"props":1332,"children":1337},"pre",{"className":1333,"code":1334,"language":1335,"meta":1336,"style":1336},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CPackageReference Include=\"MSTest\" Version=\"3.8.0\" \u002F>\n","xml","",[1338],{"type":43,"tag":83,"props":1339,"children":1340},{"__ignoreMap":1336},[1341],{"type":43,"tag":1342,"props":1343,"children":1346},"span",{"class":1344,"line":1345},"line",1,[1347],{"type":43,"tag":1342,"props":1348,"children":1349},{},[1350],{"type":49,"value":1334},{"type":43,"tag":52,"props":1352,"children":1353},{},[1354,1356,1362,1364,1369,1371,1376,1378,1384,1386,1391],{"type":49,"value":1355},"Keep ",{"type":43,"tag":83,"props":1357,"children":1359},{"className":1358},[],[1360],{"type":49,"value":1361},"Microsoft.NET.Test.Sdk",{"type":49,"value":1363}," when the project remains on VSTest, but update it to a version compatible with the selected MSTest release. For example, ",{"type":43,"tag":83,"props":1365,"children":1367},{"className":1366},[],[1368],{"type":49,"value":1327},{"type":49,"value":1370}," 3.8.0 requires ",{"type":43,"tag":83,"props":1372,"children":1374},{"className":1373},[],[1375],{"type":49,"value":1361},{"type":49,"value":1377}," 17.13.0 or later; leaving an older explicit version causes ",{"type":43,"tag":83,"props":1379,"children":1381},{"className":1380},[],[1382],{"type":49,"value":1383},"NU1605",{"type":49,"value":1385},". If package versions are centrally managed, update ",{"type":43,"tag":83,"props":1387,"children":1389},{"className":1388},[],[1390],{"type":49,"value":1160},{"type":49,"value":1392}," rather than adding inline versions.",{"type":43,"tag":52,"props":1394,"children":1395},{},[1396],{"type":43,"tag":58,"props":1397,"children":1398},{},[1399],{"type":49,"value":1400},"Use MSTest.Sdk only when the user requests it or the repository already standardizes on it (SDK-style projects only):",{"type":43,"tag":52,"props":1402,"children":1403},{},[1404,1406,1412,1414,1420],{"type":49,"value":1405},"Change ",{"type":43,"tag":83,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":49,"value":1411},"\u003CProject Sdk=\"Microsoft.NET.Sdk\">",{"type":49,"value":1413}," to ",{"type":43,"tag":83,"props":1415,"children":1417},{"className":1416},[],[1418],{"type":49,"value":1419},"\u003CProject Sdk=\"MSTest.Sdk\u002F3.8.0\">",{"type":49,"value":1421},". MSTest.Sdk automatically provides the MSTest framework, adapter, and analyzers.",{"type":43,"tag":342,"props":1423,"children":1424},{},[1425],{"type":43,"tag":52,"props":1426,"children":1427},{},[1428,1433,1435,1441,1443,1448],{"type":43,"tag":58,"props":1429,"children":1430},{},[1431],{"type":49,"value":1432},"Important",{"type":49,"value":1434},": MSTest.Sdk defaults to Microsoft.Testing.Platform (MTP). When preserving VSTest, set ",{"type":43,"tag":83,"props":1436,"children":1438},{"className":1437},[],[1439],{"type":49,"value":1440},"\u003CUseVSTest>true\u003C\u002FUseVSTest>",{"type":49,"value":1442},"; the SDK then supplies the required ",{"type":43,"tag":83,"props":1444,"children":1446},{"className":1445},[],[1447],{"type":49,"value":1361},{"type":49,"value":1449}," reference. Do not switch runners merely as a side effect of the framework upgrade.",{"type":43,"tag":52,"props":1451,"children":1452},{},[1453],{"type":49,"value":1454},"When switching to MSTest.Sdk, remove these (SDK provides them automatically):",{"type":43,"tag":73,"props":1456,"children":1457},{},[1458,1498],{"type":43,"tag":77,"props":1459,"children":1460},{},[1461,1466,1468,1473,1474,1479,1480,1485,1486,1492,1493],{"type":43,"tag":58,"props":1462,"children":1463},{},[1464],{"type":49,"value":1465},"Packages",{"type":49,"value":1467},": ",{"type":43,"tag":83,"props":1469,"children":1471},{"className":1470},[],[1472],{"type":49,"value":1327},{"type":49,"value":274},{"type":43,"tag":83,"props":1475,"children":1477},{"className":1476},[],[1478],{"type":49,"value":101},{"type":49,"value":274},{"type":43,"tag":83,"props":1481,"children":1483},{"className":1482},[],[1484],{"type":49,"value":109},{"type":49,"value":274},{"type":43,"tag":83,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":49,"value":1491},"MSTest.Analyzers",{"type":49,"value":274},{"type":43,"tag":83,"props":1494,"children":1496},{"className":1495},[],[1497],{"type":49,"value":1361},{"type":43,"tag":77,"props":1499,"children":1500},{},[1501,1506,1507,1513,1514,1520,1521,1527,1528],{"type":43,"tag":58,"props":1502,"children":1503},{},[1504],{"type":49,"value":1505},"Properties",{"type":49,"value":1467},{"type":43,"tag":83,"props":1508,"children":1510},{"className":1509},[],[1511],{"type":49,"value":1512},"\u003CEnableMSTestRunner>",{"type":49,"value":274},{"type":43,"tag":83,"props":1515,"children":1517},{"className":1516},[],[1518],{"type":49,"value":1519},"\u003COutputType>Exe\u003C\u002FOutputType>",{"type":49,"value":274},{"type":43,"tag":83,"props":1522,"children":1524},{"className":1523},[],[1525],{"type":49,"value":1526},"\u003CIsPackable>false\u003C\u002FIsPackable>",{"type":49,"value":274},{"type":43,"tag":83,"props":1529,"children":1531},{"className":1530},[],[1532],{"type":49,"value":1533},"\u003CIsTestProject>true\u003C\u002FIsTestProject>",{"type":43,"tag":1111,"props":1535,"children":1537},{"id":1536},"step-4-update-target-frameworks-if-needed",[1538],{"type":49,"value":1539},"Step 4: Update target frameworks if needed",{"type":43,"tag":52,"props":1541,"children":1542},{},[1543],{"type":49,"value":1544},"MSTest v3 supports .NET 6+, .NET Core 3.1, .NET Framework 4.6.2+, .NET Standard 2.0, UWP 16299+, and WinUI 18362+. .NET Core 3.1 is end-of-life but remains supported by MSTest v3; preserve it during this framework-only migration and recommend a separate runtime upgrade. If the project targets a framework version dropped by MSTest v3, update to a supported one:",{"type":43,"tag":217,"props":1546,"children":1547},{},[1548,1564],{"type":43,"tag":221,"props":1549,"children":1550},{},[1551],{"type":43,"tag":225,"props":1552,"children":1553},{},[1554,1559],{"type":43,"tag":229,"props":1555,"children":1556},{},[1557],{"type":49,"value":1558},"Dropped",{"type":43,"tag":229,"props":1560,"children":1561},{},[1562],{"type":49,"value":1563},"Recommended replacement",{"type":43,"tag":245,"props":1565,"children":1566},{},[1567,1580,1593,1606,1619],{"type":43,"tag":225,"props":1568,"children":1569},{},[1570,1575],{"type":43,"tag":252,"props":1571,"children":1572},{},[1573],{"type":49,"value":1574},".NET 5",{"type":43,"tag":252,"props":1576,"children":1577},{},[1578],{"type":49,"value":1579},".NET 8.0 (current LTS) or .NET 6+",{"type":43,"tag":225,"props":1581,"children":1582},{},[1583,1588],{"type":43,"tag":252,"props":1584,"children":1585},{},[1586],{"type":49,"value":1587},".NET Framework \u003C 4.6.2",{"type":43,"tag":252,"props":1589,"children":1590},{},[1591],{"type":49,"value":1592},".NET Framework 4.6.2",{"type":43,"tag":225,"props":1594,"children":1595},{},[1596,1601],{"type":43,"tag":252,"props":1597,"children":1598},{},[1599],{"type":49,"value":1600},".NET Standard 1.0",{"type":43,"tag":252,"props":1602,"children":1603},{},[1604],{"type":49,"value":1605},".NET Standard 2.0",{"type":43,"tag":225,"props":1607,"children":1608},{},[1609,1614],{"type":43,"tag":252,"props":1610,"children":1611},{},[1612],{"type":49,"value":1613},"UWP \u003C 16299",{"type":43,"tag":252,"props":1615,"children":1616},{},[1617],{"type":49,"value":1618},"UWP 16299",{"type":43,"tag":225,"props":1620,"children":1621},{},[1622,1627],{"type":43,"tag":252,"props":1623,"children":1624},{},[1625],{"type":49,"value":1626},"WinUI \u003C 18362",{"type":43,"tag":252,"props":1628,"children":1629},{},[1630],{"type":49,"value":1631},"WinUI 18362",{"type":43,"tag":342,"props":1633,"children":1634},{},[1635],{"type":43,"tag":52,"props":1636,"children":1637},{},[1638,1643],{"type":43,"tag":58,"props":1639,"children":1640},{},[1641],{"type":49,"value":1642},"Note",{"type":49,"value":1644},": .NET 6, .NET 8, and .NET 9 are all supported by MSTest v3. Do not change TFMs that are already supported.",{"type":43,"tag":1111,"props":1646,"children":1648},{"id":1647},"step-5-resolve-build-errors-and-breaking-changes",[1649],{"type":49,"value":1650},"Step 5: Resolve build errors and breaking changes",{"type":43,"tag":52,"props":1652,"children":1653},{},[1654],{"type":49,"value":1655},"Search the supplied files first and fix only breaking changes that are present.\nA successful build does not prove compatibility; some failures surface only as\nanalyzer warnings or during test execution.",{"type":43,"tag":52,"props":1657,"children":1658},{},[1659,1664,1666,1671,1672,1678,1680,1685,1687,1692,1694,1700,1702,1707,1709,1714],{"type":43,"tag":58,"props":1660,"children":1661},{},[1662],{"type":49,"value":1663},"Assertion overloads",{"type":49,"value":1665}," -- MSTest v3 replaced ",{"type":43,"tag":83,"props":1667,"children":1669},{"className":1668},[],[1670],{"type":49,"value":430},{"type":49,"value":478},{"type":43,"tag":83,"props":1673,"children":1675},{"className":1674},[],[1676],{"type":49,"value":1677},"AreNotEqual(object, object)",{"type":49,"value":1679}," with the generic ",{"type":43,"tag":83,"props":1681,"children":1683},{"className":1682},[],[1684],{"type":49,"value":438},{"type":49,"value":1686},". This breaks ",{"type":43,"tag":58,"props":1688,"children":1689},{},[1690],{"type":49,"value":1691},"only",{"type":49,"value":1693}," where ",{"type":43,"tag":83,"props":1695,"children":1697},{"className":1696},[],[1698],{"type":49,"value":1699},"T",{"type":49,"value":1701}," can no longer be inferred, which the compiler reports as ",{"type":43,"tag":83,"props":1703,"children":1705},{"className":1704},[],[1706],{"type":49,"value":452},{"type":49,"value":1708}," (or ",{"type":43,"tag":83,"props":1710,"children":1712},{"className":1711},[],[1713],{"type":49,"value":460},{"type":49,"value":1715}," for unrelated argument types):",{"type":43,"tag":1331,"props":1717,"children":1721},{"className":1718,"code":1719,"language":1720,"meta":1336,"style":1336},"language-csharp shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Breaks -- string and int have no common inferred type:\nAssert.AreEqual(referenceCode, numericId);   \u002F\u002F CS0411\n\u002F\u002F Fix -- name the type argument explicitly:\nAssert.AreEqual\u003Cobject>(referenceCode, numericId);\n","csharp",[1722],{"type":43,"tag":83,"props":1723,"children":1724},{"__ignoreMap":1336},[1725,1733,1742,1751],{"type":43,"tag":1342,"props":1726,"children":1727},{"class":1344,"line":1345},[1728],{"type":43,"tag":1342,"props":1729,"children":1730},{},[1731],{"type":49,"value":1732},"\u002F\u002F Breaks -- string and int have no common inferred type:\n",{"type":43,"tag":1342,"props":1734,"children":1736},{"class":1344,"line":1735},2,[1737],{"type":43,"tag":1342,"props":1738,"children":1739},{},[1740],{"type":49,"value":1741},"Assert.AreEqual(referenceCode, numericId);   \u002F\u002F CS0411\n",{"type":43,"tag":1342,"props":1743,"children":1745},{"class":1344,"line":1744},3,[1746],{"type":43,"tag":1342,"props":1747,"children":1748},{},[1749],{"type":49,"value":1750},"\u002F\u002F Fix -- name the type argument explicitly:\n",{"type":43,"tag":1342,"props":1752,"children":1754},{"class":1344,"line":1753},4,[1755],{"type":43,"tag":1342,"props":1756,"children":1757},{},[1758],{"type":49,"value":1759},"Assert.AreEqual\u003Cobject>(referenceCode, numericId);\n",{"type":43,"tag":52,"props":1761,"children":1762},{},[1763,1765,1770,1771,1776,1778,1784,1786,1791,1793,1799],{"type":49,"value":1764},"Two ",{"type":43,"tag":83,"props":1766,"children":1768},{"className":1767},[],[1769],{"type":49,"value":468},{"type":49,"value":470},{"type":43,"tag":83,"props":1772,"children":1774},{"className":1773},[],[1775],{"type":49,"value":476},{"type":49,"value":1777}," and compile untouched, as do\nordinary typed assertions like ",{"type":43,"tag":83,"props":1779,"children":1781},{"className":1780},[],[1782],{"type":49,"value":1783},"Assert.AreEqual(\"A-3\", order.Reference)",{"type":49,"value":1785},". ",{"type":43,"tag":58,"props":1787,"children":1788},{},[1789],{"type":49,"value":1790},"Fix only\nthe call sites the compiler rejects.",{"type":49,"value":1792}," Widening every assertion in the file to\n",{"type":43,"tag":83,"props":1794,"children":1796},{"className":1795},[],[1797],{"type":49,"value":1798},"\u003Cobject>",{"type":49,"value":1800}," also compiles, so nothing will flag it -- but it discards the type\nchecking v3 added, which is the entire point of the change.",{"type":43,"tag":52,"props":1802,"children":1803},{},[1804,1809,1811,1816,1818,1823],{"type":43,"tag":58,"props":1805,"children":1806},{},[1807],{"type":49,"value":1808},"DataRow strict type matching",{"type":49,"value":1810}," -- argument types must match parameter types\nexactly. This is ",{"type":43,"tag":58,"props":1812,"children":1813},{},[1814],{"type":49,"value":1815},"not",{"type":49,"value":1817}," a compile error: the row builds (with ",{"type":43,"tag":83,"props":1819,"children":1821},{"className":1820},[],[1822],{"type":49,"value":548},{"type":49,"value":1824},") and\nfails at run time with \"Test data doesn't match method parameters\".",{"type":43,"tag":1331,"props":1826,"children":1828},{"className":1718,"code":1827,"language":1720,"meta":1336,"style":1336},"\u002F\u002F Fails at run time: 1L (long) does not bind to an int parameter -> use 1\n\u002F\u002F Fails at run time: 1.0 (double) does not bind to a float parameter -> use 1.0f\n\u002F\u002F Still binds: 1 (int) to a long parameter -- widening conversions are accepted\n",[1829],{"type":43,"tag":83,"props":1830,"children":1831},{"__ignoreMap":1336},[1832,1840,1848],{"type":43,"tag":1342,"props":1833,"children":1834},{"class":1344,"line":1345},[1835],{"type":43,"tag":1342,"props":1836,"children":1837},{},[1838],{"type":49,"value":1839},"\u002F\u002F Fails at run time: 1L (long) does not bind to an int parameter -> use 1\n",{"type":43,"tag":1342,"props":1841,"children":1842},{"class":1344,"line":1735},[1843],{"type":43,"tag":1342,"props":1844,"children":1845},{},[1846],{"type":49,"value":1847},"\u002F\u002F Fails at run time: 1.0 (double) does not bind to a float parameter -> use 1.0f\n",{"type":43,"tag":1342,"props":1849,"children":1850},{"class":1344,"line":1744},[1851],{"type":43,"tag":1342,"props":1852,"children":1853},{},[1854],{"type":49,"value":1855},"\u002F\u002F Still binds: 1 (int) to a long parameter -- widening conversions are accepted\n",{"type":43,"tag":52,"props":1857,"children":1858},{},[1859,1861,1866,1868,1873],{"type":49,"value":1860},"Preserve method parameter types unless independently wrong. ",{"type":43,"tag":83,"props":1862,"children":1864},{"className":1863},[],[1865],{"type":49,"value":313},{"type":49,"value":1867}," may\nsucceed with ",{"type":43,"tag":83,"props":1869,"children":1871},{"className":1870},[],[1872],{"type":49,"value":548},{"type":49,"value":1874},"; run the test to prove each row binds and executes.",{"type":43,"tag":52,"props":1876,"children":1877},{},[1878,1883,1885,1890,1892,1898,1900,1905],{"type":43,"tag":58,"props":1879,"children":1880},{},[1881],{"type":49,"value":1882},"Rows with more than 16 arguments",{"type":49,"value":1884}," -- leave them alone unless the compiler\nactually emits ",{"type":43,"tag":83,"props":1886,"children":1888},{"className":1887},[],[1889],{"type":49,"value":649},{"type":49,"value":1891},". The cap existed only in 3.0.1\u002F3.0.2 (removed in 3.0.3),\nso wrapping extras in an ",{"type":43,"tag":83,"props":1893,"children":1895},{"className":1894},[],[1896],{"type":49,"value":1897},"object[]",{"type":49,"value":1899},", casting to ",{"type":43,"tag":83,"props":1901,"children":1903},{"className":1902},[],[1904],{"type":49,"value":468},{"type":49,"value":1906},", or splitting the method\njust rewrites a correct test.",{"type":43,"tag":52,"props":1908,"children":1909},{},[1910,1915,1917,1922],{"type":43,"tag":58,"props":1911,"children":1912},{},[1913],{"type":49,"value":1914},"Timeout behavior",{"type":49,"value":1916}," -- unified across .NET Core and .NET Framework. Verify ",{"type":43,"tag":83,"props":1918,"children":1920},{"className":1919},[],[1921],{"type":49,"value":737},{"type":49,"value":1923}," values still work.",{"type":43,"tag":1111,"props":1925,"children":1927},{"id":1926},"step-6-replace-testsettings-with-runsettings",[1928],{"type":49,"value":1929},"Step 6: Replace .testsettings with .runsettings",{"type":43,"tag":52,"props":1931,"children":1932},{},[1933,1934,1939,1941,1946,1948,1960,1962,1967,1969,1974,1976,1982],{"type":49,"value":266},{"type":43,"tag":83,"props":1935,"children":1937},{"className":1936},[],[1938],{"type":49,"value":127},{"type":49,"value":1940}," file and ",{"type":43,"tag":83,"props":1942,"children":1944},{"className":1943},[],[1945],{"type":49,"value":166},{"type":49,"value":1947}," are no longer supported in MSTest v3. ",{"type":43,"tag":58,"props":1949,"children":1950},{},[1951,1953,1958],{"type":49,"value":1952},"Delete the ",{"type":43,"tag":83,"props":1954,"children":1956},{"className":1955},[],[1957],{"type":49,"value":127},{"type":49,"value":1959}," file",{"type":49,"value":1961}," and create a ",{"type":43,"tag":83,"props":1963,"children":1965},{"className":1964},[],[1966],{"type":49,"value":135},{"type":49,"value":1968}," file -- do not keep both. Consolidate all MSTest configuration under one ",{"type":43,"tag":83,"props":1970,"children":1972},{"className":1971},[],[1973],{"type":49,"value":1027},{"type":49,"value":1975}," element; do not create an ",{"type":43,"tag":83,"props":1977,"children":1979},{"className":1978},[],[1980],{"type":49,"value":1981},"\u003CMSTestV2>",{"type":49,"value":1983}," section.",{"type":43,"tag":52,"props":1985,"children":1986},{},[1987],{"type":49,"value":1988},"Key mappings:",{"type":43,"tag":217,"props":1990,"children":1991},{},[1992,2007],{"type":43,"tag":221,"props":1993,"children":1994},{},[1995],{"type":43,"tag":225,"props":1996,"children":1997},{},[1998,2002],{"type":43,"tag":229,"props":1999,"children":2000},{},[2001],{"type":49,"value":127},{"type":43,"tag":229,"props":2003,"children":2004},{},[2005],{"type":49,"value":2006},".runsettings equivalent",{"type":43,"tag":245,"props":2008,"children":2009},{},[2010,2033,2052,2065],{"type":43,"tag":225,"props":2011,"children":2012},{},[2013,2024],{"type":43,"tag":252,"props":2014,"children":2015},{},[2016,2022],{"type":43,"tag":83,"props":2017,"children":2019},{"className":2018},[],[2020],{"type":49,"value":2021},"TestTimeout",{"type":49,"value":2023}," property",{"type":43,"tag":252,"props":2025,"children":2026},{},[2027],{"type":43,"tag":83,"props":2028,"children":2030},{"className":2029},[],[2031],{"type":49,"value":2032},"\u003CMSTest>\u003CTestTimeout>30000\u003C\u002FTestTimeout>\u003C\u002FMSTest>",{"type":43,"tag":225,"props":2034,"children":2035},{},[2036,2041],{"type":43,"tag":252,"props":2037,"children":2038},{},[2039],{"type":49,"value":2040},"Deployment config",{"type":43,"tag":252,"props":2042,"children":2043},{},[2044,2050],{"type":43,"tag":83,"props":2045,"children":2047},{"className":2046},[],[2048],{"type":49,"value":2049},"\u003CMSTest>\u003CDeploymentEnabled>true\u003C\u002FDeploymentEnabled>\u003C\u002FMSTest>",{"type":49,"value":2051}," or remove",{"type":43,"tag":225,"props":2053,"children":2054},{},[2055,2060],{"type":43,"tag":252,"props":2056,"children":2057},{},[2058],{"type":49,"value":2059},"Assembly resolution settings",{"type":43,"tag":252,"props":2061,"children":2062},{},[2063],{"type":49,"value":2064},"Remove -- not needed in modern .NET",{"type":43,"tag":225,"props":2066,"children":2067},{},[2068,2073],{"type":43,"tag":252,"props":2069,"children":2070},{},[2071],{"type":49,"value":2072},"Data collectors",{"type":43,"tag":252,"props":2074,"children":2075},{},[2076,2082],{"type":43,"tag":83,"props":2077,"children":2079},{"className":2078},[],[2080],{"type":49,"value":2081},"\u003CDataCollectionRunSettings>\u003CDataCollectors>",{"type":49,"value":2083}," section",{"type":43,"tag":342,"props":2085,"children":2086},{},[2087],{"type":43,"tag":52,"props":2088,"children":2089},{},[2090,2094,2096,2102,2104,2108,2110,2116,2118,2123],{"type":43,"tag":58,"props":2091,"children":2092},{},[2093],{"type":49,"value":1432},{"type":49,"value":2095},": Map timeout to ",{"type":43,"tag":83,"props":2097,"children":2099},{"className":2098},[],[2100],{"type":49,"value":2101},"\u003CMSTest>\u003CTestTimeout>",{"type":49,"value":2103}," (per-test), ",{"type":43,"tag":58,"props":2105,"children":2106},{},[2107],{"type":49,"value":1815},{"type":49,"value":2109}," ",{"type":43,"tag":83,"props":2111,"children":2113},{"className":2112},[],[2114],{"type":49,"value":2115},"\u003CTestSessionTimeout>",{"type":49,"value":2117}," (session-wide). Remove ",{"type":43,"tag":83,"props":2119,"children":2121},{"className":2120},[],[2122],{"type":49,"value":166},{"type":49,"value":2124}," entirely.",{"type":43,"tag":1111,"props":2126,"children":2128},{"id":2127},"step-7-verify",[2129],{"type":49,"value":2130},"Step 7: Verify",{"type":43,"tag":1118,"props":2132,"children":2133},{},[2134,2146,2151,2156],{"type":43,"tag":77,"props":2135,"children":2136},{},[2137,2139,2144],{"type":49,"value":2138},"Run the same test command, filter, and configuration used for the baseline. ",{"type":43,"tag":83,"props":2140,"children":2142},{"className":2141},[],[2143],{"type":49,"value":338},{"type":49,"value":2145}," builds by default; run a separate build only to isolate a compilation failure.",{"type":43,"tag":77,"props":2147,"children":2148},{},[2149],{"type":49,"value":2150},"Compare discovered, passed, failed, and skipped counts to the pre-migration baseline.",{"type":43,"tag":77,"props":2152,"children":2153},{},[2154],{"type":49,"value":2155},"Investigate every count difference; do not accept silently dropped tests or data rows.",{"type":43,"tag":77,"props":2157,"children":2158},{},[2159,2161,2166,2167,2172],{"type":49,"value":2160},"Confirm no QualityTools reference, 1.x\u002F2.x MSTest package, ",{"type":43,"tag":83,"props":2162,"children":2164},{"className":2163},[],[2165],{"type":49,"value":127},{"type":49,"value":282},{"type":43,"tag":83,"props":2168,"children":2170},{"className":2169},[],[2171],{"type":49,"value":166},{"type":49,"value":2173}," remains.",{"type":43,"tag":66,"props":2175,"children":2177},{"id":2176},"validation",[2178],{"type":49,"value":2179},"Validation",{"type":43,"tag":73,"props":2181,"children":2184},{"className":2182},[2183],"contains-task-list",[2185,2198,2207,2223],{"type":43,"tag":77,"props":2186,"children":2189},{"className":2187},[2188],"task-list-item",[2190,2196],{"type":43,"tag":2191,"props":2192,"children":2195},"input",{"disabled":2193,"type":2194},true,"checkbox",[],{"type":49,"value":2197}," MSTest v3 packages (or MSTest.Sdk) correctly referenced; v1\u002Fv2 references removed",{"type":43,"tag":77,"props":2199,"children":2201},{"className":2200},[2188],[2202,2205],{"type":43,"tag":2191,"props":2203,"children":2204},{"disabled":2193,"type":2194},[],{"type":49,"value":2206}," Project builds with zero errors",{"type":43,"tag":77,"props":2208,"children":2210},{"className":2209},[2188],[2211,2214,2216,2221],{"type":43,"tag":2191,"props":2212,"children":2213},{"disabled":2193,"type":2194},[],{"type":49,"value":2215}," All tests pass (",{"type":43,"tag":83,"props":2217,"children":2219},{"className":2218},[],[2220],{"type":49,"value":338},{"type":49,"value":2222},") -- compare pass\u002Ffail counts to pre-migration baseline",{"type":43,"tag":77,"props":2224,"children":2226},{"className":2225},[2188],[2227,2230,2231,2236,2238,2243],{"type":43,"tag":2191,"props":2228,"children":2229},{"disabled":2193,"type":2194},[],{"type":49,"value":2109},{"type":43,"tag":83,"props":2232,"children":2234},{"className":2233},[],[2235],{"type":49,"value":127},{"type":49,"value":2237}," replaced with ",{"type":43,"tag":83,"props":2239,"children":2241},{"className":2240},[],[2242],{"type":49,"value":135},{"type":49,"value":2244}," (if applicable)",{"type":43,"tag":66,"props":2246,"children":2248},{"id":2247},"next-step",[2249],{"type":49,"value":2250},"Next Step",{"type":43,"tag":52,"props":2252,"children":2253},{},[2254,2256,2261],{"type":49,"value":2255},"After v3 migration, use ",{"type":43,"tag":83,"props":2257,"children":2259},{"className":2258},[],[2260],{"type":49,"value":179},{"type":49,"value":2262}," for MSTest v4.",{"type":43,"tag":66,"props":2264,"children":2266},{"id":2265},"common-pitfalls",[2267],{"type":49,"value":2268},"Common Pitfalls",{"type":43,"tag":217,"props":2270,"children":2271},{},[2272,2288],{"type":43,"tag":221,"props":2273,"children":2274},{},[2275],{"type":43,"tag":225,"props":2276,"children":2277},{},[2278,2283],{"type":43,"tag":229,"props":2279,"children":2280},{},[2281],{"type":49,"value":2282},"Pitfall",{"type":43,"tag":229,"props":2284,"children":2285},{},[2286],{"type":49,"value":2287},"Solution",{"type":43,"tag":245,"props":2289,"children":2290},{},[2291,2324,2337,2357,2375],{"type":43,"tag":225,"props":2292,"children":2293},{},[2294,2299],{"type":43,"tag":252,"props":2295,"children":2296},{},[2297],{"type":49,"value":2298},"Replying with \"which project?\" when the workspace already holds one",{"type":43,"tag":252,"props":2300,"children":2301},{},[2302,2304,2309,2311,2316,2317,2322],{"type":49,"value":2303},"Glob for ",{"type":43,"tag":83,"props":2305,"children":2307},{"className":2306},[],[2308],{"type":49,"value":1131},{"type":49,"value":2310},"\u002F",{"type":43,"tag":83,"props":2312,"children":2314},{"className":2313},[],[2315],{"type":49,"value":1138},{"type":49,"value":2310},{"type":43,"tag":83,"props":2318,"children":2320},{"className":2319},[],[2321],{"type":49,"value":1146},{"type":49,"value":2323}," and read what is there",{"type":43,"tag":225,"props":2325,"children":2326},{},[2327,2332],{"type":43,"tag":252,"props":2328,"children":2329},{},[2330],{"type":49,"value":2331},"\"No project on disk\" right after a search listed project files",{"type":43,"tag":252,"props":2333,"children":2334},{},[2335],{"type":49,"value":2336},"The path was rebuilt under the skill's base directory. Reopen using the literal search result; never scaffold a replacement project",{"type":43,"tag":225,"props":2338,"children":2339},{},[2340,2352],{"type":43,"tag":252,"props":2341,"children":2342},{},[2343,2345,2350],{"type":49,"value":2344},"Rewriting a ",{"type":43,"tag":83,"props":2346,"children":2348},{"className":2347},[],[2349],{"type":49,"value":530},{"type":49,"value":2351}," with more than 16 arguments",{"type":43,"tag":252,"props":2353,"children":2354},{},[2355],{"type":49,"value":2356},"Valid on 3.0.3+, which is every current 3.x. Only 3.0.1\u002F3.0.2 ever rejected it",{"type":43,"tag":225,"props":2358,"children":2359},{},[2360,2370],{"type":43,"tag":252,"props":2361,"children":2362},{},[2363,2365],{"type":49,"value":2364},"Non-MSTest.Sdk VSTest project missing ",{"type":43,"tag":83,"props":2366,"children":2368},{"className":2367},[],[2369],{"type":49,"value":1361},{"type":43,"tag":252,"props":2371,"children":2372},{},[2373],{"type":49,"value":2374},"Add the package reference for VSTest discovery",{"type":43,"tag":225,"props":2376,"children":2377},{},[2378,2389],{"type":43,"tag":252,"props":2379,"children":2380},{},[2381,2383],{"type":49,"value":2382},"MSTest.Sdk tests not found by ",{"type":43,"tag":83,"props":2384,"children":2386},{"className":2385},[],[2387],{"type":49,"value":2388},"vstest.console",{"type":43,"tag":252,"props":2390,"children":2391},{},[2392,2394,2399,2401],{"type":49,"value":2393},"Set ",{"type":43,"tag":83,"props":2395,"children":2397},{"className":2396},[],[2398],{"type":49,"value":1440},{"type":49,"value":2400},"; MSTest.Sdk then supplies ",{"type":43,"tag":83,"props":2402,"children":2404},{"className":2403},[],[2405],{"type":49,"value":1361},{"type":43,"tag":2407,"props":2408,"children":2409},"style",{},[2410],{"type":49,"value":2411},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2413,"total":2517},[2414,2431,2446,2464,2476,2495,2505],{"slug":2415,"name":2415,"fn":2416,"description":2417,"org":2418,"tags":2419,"stars":25,"repoUrl":26,"updatedAt":2430},"analyzing-dotnet-performance","analyze .NET code for performance anti-patterns","Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2420,2421,2424,2427],{"name":13,"slug":14,"type":15},{"name":2422,"slug":2423,"type":15},"Code Analysis","code-analysis",{"name":2425,"slug":2426,"type":15},"Debugging","debugging",{"name":2428,"slug":2429,"type":15},"Performance","performance","2026-07-12T08:23:25.400375",{"slug":2432,"name":2432,"fn":2433,"description":2434,"org":2435,"tags":2436,"stars":25,"repoUrl":26,"updatedAt":2445},"android-tombstone-symbolication","symbolicate .NET runtime frames in Android tombstones","Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java\u002FKotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2437,2438,2441,2442],{"name":13,"slug":14,"type":15},{"name":2439,"slug":2440,"type":15},"Android","android",{"name":2425,"slug":2426,"type":15},{"name":2443,"slug":2444,"type":15},"Microsoft","microsoft","2026-07-12T08:23:21.595572",{"slug":2447,"name":2447,"fn":2448,"description":2449,"org":2450,"tags":2451,"stars":25,"repoUrl":26,"updatedAt":2463},"apple-crash-symbolication","symbolicate .NET runtime frames in crash logs","Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift\u002FObjective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2452,2453,2454,2457,2460],{"name":13,"slug":14,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2455,"slug":2456,"type":15},"iOS","ios",{"name":2458,"slug":2459,"type":15},"macOS","macos",{"name":2461,"slug":2462,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":2465,"name":2465,"fn":2466,"description":2467,"org":2468,"tags":2469,"stars":25,"repoUrl":26,"updatedAt":2475},"assertion-quality","evaluate assertion quality in test suites","Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull \u002F toBeTruthy()), flag self-referential or tautological assertions, measure assertion diversity, or audit whether tests verify different facets of behavior. Polyglot: .NET, Python, TS\u002FJS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. DO NOT USE FOR: writing new tests (use code-testing-agent \u002F writing-mstest-tests), mutation reasoning about whether tests would catch a bug (use test-gap-analysis), or a general severity-ranked anti-pattern audit (use test-anti-patterns), fixing or rewriting assertions, or writing, fixing, or modernizing MSTest tests, assertions, or attributes (use writing-mstest-tests).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2470,2471,2474],{"name":2422,"slug":2423,"type":15},{"name":2472,"slug":2473,"type":15},"QA","qa",{"name":23,"slug":24,"type":15},"2026-07-12T08:23:51.277743",{"slug":2477,"name":2477,"fn":2478,"description":2479,"org":2480,"tags":2481,"stars":25,"repoUrl":26,"updatedAt":2494},"author-component","create and review Blazor components","Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind. DO NOT USE FOR: creating new projects (use create-blazor-project), JavaScript interop or calling browser APIs from Blazor (use use-js-interop), forms and validation (use collect-user-input), prerendering issues (use support-prerendering), HTTP data fetching patterns (use fetch-and-send-data), coordinating state between unrelated components (use coordinate-components).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2482,2483,2486,2488,2491],{"name":13,"slug":14,"type":15},{"name":2484,"slug":2485,"type":15},"Blazor","blazor",{"name":2487,"slug":1720,"type":15},"C#",{"name":2489,"slug":2490,"type":15},"UI Components","ui-components",{"name":2492,"slug":2493,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":2496,"name":2496,"fn":2497,"description":2498,"org":2499,"tags":2500,"stars":25,"repoUrl":26,"updatedAt":2504},"binlog-failure-analysis","analyze MSBuild binary logs","Analyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-project builds, tracing MSBuild target execution order, and generally any MSBuild build issues. Requires an existing .binlog file. DO NOT USE FOR: generating binlogs (use binlog-generation), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2501,2502,2503],{"name":2422,"slug":2423,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2443,"slug":2444,"type":15},"2026-07-12T08:21:34.637923",{"slug":2506,"name":2506,"fn":2507,"description":2508,"org":2509,"tags":2510,"stars":25,"repoUrl":26,"updatedAt":2516},"binlog-generation","generate MSBuild binary logs for diagnostics","Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding \u002Fbl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ \u002F .NET 8 SDK+ for {} placeholder; PowerShell needs -bl:{{}}. DO NOT USE FOR: non-MSBuild build systems (npm, Maven, CMake), analyzing an existing binlog (use binlog-failure-analysis instead).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2511,2514,2515],{"name":2512,"slug":2513,"type":15},"Build","build",{"name":2425,"slug":2426,"type":15},{"name":20,"slug":21,"type":15},"2026-07-19T05:38:19.340791",96,{"items":2519,"total":2624},[2520,2532,2539,2546,2554,2560,2568,2574,2580,2590,2603,2614],{"slug":2521,"name":2521,"fn":2522,"description":2523,"org":2524,"tags":2525,"stars":2529,"repoUrl":2530,"updatedAt":2531},"multithreaded-task-migration","migrate MSBuild tasks to multithreaded mode","Guide for migrating MSBuild tasks to multithreaded mode support, including compatibility red-team review. Use this when converting tasks to thread-safe versions, implementing IMultiThreadableTask, adding TaskEnvironment support, or auditing migrations for behavioral compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2526,2527,2528],{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"name":2428,"slug":2429,"type":15},5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":2415,"name":2415,"fn":2416,"description":2417,"org":2533,"tags":2534,"stars":25,"repoUrl":26,"updatedAt":2430},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2535,2536,2537,2538],{"name":13,"slug":14,"type":15},{"name":2422,"slug":2423,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2428,"slug":2429,"type":15},{"slug":2432,"name":2432,"fn":2433,"description":2434,"org":2540,"tags":2541,"stars":25,"repoUrl":26,"updatedAt":2445},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2542,2543,2544,2545],{"name":13,"slug":14,"type":15},{"name":2439,"slug":2440,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2443,"slug":2444,"type":15},{"slug":2447,"name":2447,"fn":2448,"description":2449,"org":2547,"tags":2548,"stars":25,"repoUrl":26,"updatedAt":2463},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2549,2550,2551,2552,2553],{"name":13,"slug":14,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2455,"slug":2456,"type":15},{"name":2458,"slug":2459,"type":15},{"name":2461,"slug":2462,"type":15},{"slug":2465,"name":2465,"fn":2466,"description":2467,"org":2555,"tags":2556,"stars":25,"repoUrl":26,"updatedAt":2475},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2557,2558,2559],{"name":2422,"slug":2423,"type":15},{"name":2472,"slug":2473,"type":15},{"name":23,"slug":24,"type":15},{"slug":2477,"name":2477,"fn":2478,"description":2479,"org":2561,"tags":2562,"stars":25,"repoUrl":26,"updatedAt":2494},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2563,2564,2565,2566,2567],{"name":13,"slug":14,"type":15},{"name":2484,"slug":2485,"type":15},{"name":2487,"slug":1720,"type":15},{"name":2489,"slug":2490,"type":15},{"name":2492,"slug":2493,"type":15},{"slug":2496,"name":2496,"fn":2497,"description":2498,"org":2569,"tags":2570,"stars":25,"repoUrl":26,"updatedAt":2504},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2571,2572,2573],{"name":2422,"slug":2423,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2443,"slug":2444,"type":15},{"slug":2506,"name":2506,"fn":2507,"description":2508,"org":2575,"tags":2576,"stars":25,"repoUrl":26,"updatedAt":2516},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2577,2578,2579],{"name":2512,"slug":2513,"type":15},{"name":2425,"slug":2426,"type":15},{"name":20,"slug":21,"type":15},{"slug":2581,"name":2581,"fn":2582,"description":2583,"org":2584,"tags":2585,"stars":25,"repoUrl":26,"updatedAt":2589},"build-parallelism","optimize MSBuild build parallelism","Diagnose and fix under-parallelized MSBuild builds. USE WHEN a multi-project solution build is slower than expected, doesn't speed up when you add cores, pegs a single core while others idle, or you want to know why `-m` isn't helping. Note: `\u002Fmaxcpucount` default is 1 (sequential) — always pass `-m` for parallel builds. Covers finding the critical path (longest serial ProjectReference chain), graph build (`\u002Fgraph`), BuildInParallel, and solution filters (`.slnf`). DO NOT USE FOR: single-project builds, incremental issues (use incremental-build), compilation slowness inside one project (use build-perf-diagnostics), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2586,2587,2588],{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"name":2428,"slug":2429,"type":15},"2026-07-19T05:38:18.364937",{"slug":2591,"name":2591,"fn":2592,"description":2593,"org":2594,"tags":2595,"stars":25,"repoUrl":26,"updatedAt":2602},"build-perf-baseline","establish and optimize build performance baselines","Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2596,2597,2600,2601],{"name":20,"slug":21,"type":15},{"name":2598,"slug":2599,"type":15},"Monitoring","monitoring",{"name":2428,"slug":2429,"type":15},{"name":23,"slug":24,"type":15},"2026-07-12T08:21:35.865649",{"slug":2604,"name":2604,"fn":2605,"description":2606,"org":2607,"tags":2608,"stars":25,"repoUrl":26,"updatedAt":2613},"build-perf-diagnostics","diagnose MSBuild build performance bottlenecks","Diagnose MSBuild build performance bottlenecks using binary log analysis. USE FOR: identifying why builds are slow by analyzing binlog performance summaries, detecting ResolveAssemblyReference (RAR) taking >5s, Roslyn analyzers consuming >30% of Csc time, single targets dominating >50% of build time, node utilization below 80%, excessive Copy tasks, NuGet restore running every build. Covers timeline analysis, Target\u002FTask Performance Summary interpretation, and 7 common bottleneck categories. Use after build-perf-baseline has established measurements. DO NOT USE FOR: establishing initial baselines (use build-perf-baseline first), fixing incremental build issues (use incremental-build), parallelism tuning (use build-parallelism), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2609,2610,2611,2612],{"name":13,"slug":14,"type":15},{"name":2425,"slug":2426,"type":15},{"name":20,"slug":21,"type":15},{"name":2428,"slug":2429,"type":15},"2026-07-12T08:21:40.961722",{"slug":2615,"name":2615,"fn":2616,"description":2617,"org":2618,"tags":2619,"stars":25,"repoUrl":26,"updatedAt":2623},"check-bin-obj-clash","detect MSBuild output path conflicts","Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing\u002Foverwritten outputs in multi-project or multi-targeting builds where bin\u002Fobj (or project.assets.json) collide. Common causes: shared OutputPath, missing AppendTargetFrameworkToOutputPath, extra global properties (e.g. PublishReadyToRun), or SetTargetFramework on a ProjectReference to a single-targeting project. DO NOT USE FOR: file access errors unrelated to MSBuild (OS-level locking), single-project single-TFM builds, non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2620,2621,2622],{"name":2425,"slug":2426,"type":15},{"name":20,"slug":21,"type":15},{"name":2472,"slug":2473,"type":15},"2026-07-19T05:38:14.336279",144]