[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DYXP9668J3AAV6E3JCC3TJ":3,"skill-same:01M6DYXP9668J3AAV6E3JCC3TJ":119},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6DYXP9668J3AAV6E3JCC3TJ","platform-detection",null,"Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for \"which test platform\u002Fframework?\", \"VSTest or MTP?\", or \"what runner does this project use?\", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest\u002FMTP configuration. Resolves global.json, project, packages.config, Directory.Build.props, and Directory.Packages.props precedence for MSTest\u002FxUnit\u002FNUnit\u002FTUnit. DO NOT USE when the user asks to run\u002Ffilter tests or for commands, flags, TRX\u002Fdumps, or test-command\u002Ffilter errors; use run-tests directly. Do not route hot-reload or migration requests here as the entry skill; mtp-hot-reload may use this skill internally for platform detection.","managedcode\u002Fdotnet-skills","managedcode","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78253589?v=4","01M6DYDJR3EG8KB5G4PC65XCTT","Managed Code","01M6DYDJX0ZT432N04NYJW89DN",515,"MIT","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTesting\u002FOfficial-DotNet-Test\u002Fskills\u002Fplatform-detection\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"platform detection","detection","platform","do","when","mode","which","errors","tunit","filter","style","as","tests","commands","project","route","runner","directory","only","use","bridge","command","xunit","nunit","system","run","packages","config","test","2026-11-10 10:12:30",false,"---\nname: platform-detection\ndescription: >-\n  Identify a .NET project's test platform, framework, command mode, and\n  SDK-style vs classic project system. Use only for \"which test\n  platform\u002Fframework?\", \"VSTest or MTP?\", or \"what runner does this project\n  use?\", including bridge settings, UseVSTest opt-outs, and incompatible or\n  conflicting VSTest\u002FMTP configuration. Resolves global.json, project,\n  packages.config, Directory.Build.props, and Directory.Packages.props\n  precedence for MSTest\u002FxUnit\u002FNUnit\u002FTUnit. DO NOT USE when the user asks to\n  run\u002Ffilter tests or for commands, flags, TRX\u002Fdumps, or test-command\u002Ffilter\n  errors; use run-tests directly.\n  Do not route hot-reload or migration requests here as the entry skill;\n  mtp-hot-reload may use this skill internally for platform detection.\nlicense: MIT\n---\n\n# Test Platform and Framework Detection\n\nDetermine **which test platform** (VSTest or Microsoft.Testing.Platform) and **which test framework** (MSTest, xUnit, NUnit, TUnit) a project uses.\n\n## Response contract\n\nHonor the user's requested labels and order exactly, substituting the actual\nclassification for every placeholder. Start with the verdict: never put a\nheading, scratch analysis, tool syntax, or an echoed template before it. Follow\nwith one concise evidence sentence naming the repository facts needed to justify\nevery requested classification. When `Framework` is requested, name the package\nor project SDK that identifies it. Use a second sentence only for a conflict, an\nincomplete configuration, or target-framework-specific differences.\n\n`Platform` means the platform that actually executes tests: **VSTest** or\n**MTP**. If conflicting or incomplete configuration prevents execution, report\nit as unavailable rather than inventing a successful platform.\n\nNever classify the executed platform from `global.json` `test.runner` alone.\nThat setting selects `dotnet test` command mode; even an explicit `VSTest`\nvalue can bridge to an executable MTP application. Continue through the project\nrunner, bridge, and output-shape signals before writing `Platform:`.\n\nApply this scope gate before drafting the evidence:\n\n| User asks for | Evidence to include | Omit |\n|---------------|---------------------|------|\n| Platform and framework | Final runner selector and its winning source; package or project SDK identifying the framework; when needed, the property that makes it executable | Command mode; common SDK facts; `OutputType` unless it is missing or conflicting |\n| The single deciding signal | That runner-selection property, why its source wins, and why a competing package does not select or imply VSTest; still name the package or project SDK identifying a requested framework | Bridge, `OutputType`, SDK mode, and unrelated prerequisites when the configuration is complete |\n| Platforms per target framework | Only the conditional final values that differ by target | Common properties and project-wide SDK commentary |\n| Explicit opt-out | Final `UseVSTest` value and its winning source | Superseded defaults unless they create a conflict |\n| `dotnet test` mode | The separate command-mode and executed-platform classifications | None of the requested axes |\n\nIf the requested labels omit `dotnet test mode`, do not state or explain command\nmode anywhere in the response. An exact bridge property may still be decisive\nplatform evidence, but do not turn it into SDK or CLI-mode commentary.\nWhen the user asks which single signal decides between an explicit runner\nproperty and `Microsoft.NET.Test.Sdk`, the evidence sentence must say both that\nthe runner property selects MTP and that `Microsoft.NET.Test.Sdk` does not\nselect or imply VSTest.\n\nWhen import precedence decides a property, state why the winning source wins\n(for example, it is imported later or its condition applies), not merely that it\ncontains the final value or overrides another assignment.\n\nKeep the explanation on the requested axis:\n\n- An SDK version pin in `global.json` is context, not a platform selector. Claim\n  that `global.json` selects VSTest or native MTP only when its `test.runner`\n  setting actually does so.\n- If `UseVSTest=true` is decisive, say that directly. Do not speculate about an\n  absent `test.runner` or describe SDK pinning as an additional platform choice.\n- If command mode was not requested, do not add it, even when it was needed\n  internally to determine the executed platform.\n\nWhen a classic-project request also asks for the command family, add a direct\nline such as `Command family: MSBuild + vstest.console.exe`; do not turn it into\nan optional alternative or add an unnecessary build qualifier.\n\nFor a file-backed request, enumerate the following configuration names once,\nthen read every relevant file that is present in one batched operation:\n`global.json`, `.csproj`, `packages.config`, `Directory.Build.props`,\n`Directory.Build.targets`, `Directory.Packages.props`, and explicit imported\n`.props` \u002F `.targets`. A setting absent from the project file may be defined by\nan import, so never infer its final value from the `.csproj` alone. Do not search\nthe web or inspect unrelated files when repository configuration is sufficient.\n\nResolve properties in the actual MSBuild import order, not with a fixed\n\"project beats props\" rule. For every applicable target framework:\n\n1. Follow the import graph and conditions. A later applicable assignment wins.\n   `Directory.Build.props` is normally imported before the project body, so an\n   unconditional project assignment normally overrides it; later `.targets`\n   can override the project again.\n2. Record the final value and its winning source for `UseVSTest`, the framework\n   runner selector, `TestingPlatformDotnetTestSupport`, and `OutputType`.\n3. Treat `Directory.Packages.props` as version evidence unless it also contains\n   relevant properties. Resolve package\u002FSDK versions before applying\n   version-dependent defaults.\n4. Never infer a property from package presence. A package or SDK default counts\n   only when that resolved version actually supplies it and no later assignment\n   overrides it.\n\n## Detecting the project system\n\nClassify the project before selecting a CLI:\n\n- Root `Sdk` attribute or `\u003CSdk>` declaration: SDK-style.\n- `ToolsVersion`, `Microsoft.Common.props` \u002F `Microsoft.CSharp.targets` imports,\n  explicit `\u003CReference>` and `\u003CCompile Include>` items: classic non-SDK.\n- `packages.config`: classic NuGet dependency management.\n\nClassic projects can still use VSTest-compatible adapters, but `dotnet test` is\nnot automatically a valid invocation. Preserve repository scripts\u002FCI commands,\ncommonly MSBuild followed by `vstest.console.exe`. Mention `MSTest.exe` only\nwhen repository configuration or documentation establishes that legacy runner.\n\n## Detecting the test framework\n\nRead the `.csproj`, adjacent `packages.config`, and\n`Directory.Build.props` \u002F `Directory.Packages.props` and look for:\n\n| Package or SDK reference | Framework |\n|--------------------------|-----------|\n| `MSTest` metapackage, `\u003CProject Sdk=\"MSTest.Sdk[\u002Fversion]\">`, or `\u003CSdk Name=\"MSTest.Sdk\">` | MSTest |\n| `MSTest.TestFramework` + `MSTest.TestAdapter` | MSTest (also valid for v3\u002Fv4) |\n| `xunit`, `xunit.v3`, `xunit.v3.mtp-v1`, `xunit.v3.mtp-v2`, `xunit.v3.core.mtp-v1`, `xunit.v3.core.mtp-v2` | xUnit |\n| `NUnit` + `NUnit3TestAdapter` | NUnit |\n| `TUnit` | TUnit (MTP only) |\n\nIn classic projects, package IDs and versions may appear only in\n`packages.config`, while the project contains assembly `\u003CReference>` elements\nwith `HintPath` values. Use both sources.\n\n## Detecting the executed test platform\n\nIf the user explicitly requests `dotnet test` mode, read\n[`references\u002Fcommand-mode.md`](references\u002Fcommand-mode.md) before answering.\nDo not load that reference or mention command mode for a\nplatform\u002Fframework-only request.\n\nFor an SDK 8\u002F9 request that explicitly asks about command mode and has no\neffective bridge, state all three facts in one causal sentence: the runner makes\nthe project MTP-capable, `dotnet test` remains in VSTest mode, and the missing\nbridge means VSTest actually executes the tests. Mention that native MTP command\nmode starts with SDK 10 only when it helps explain that result.\n\nWhen execution is permitted and neither the prompt nor `global.json` identifies\nthe SDK, run `dotnet --version` once. For read-only identification requests that\nprohibit execution, do not probe the installed SDK; use repository facts and\nstate any necessary SDK assumption.\n\nAfter resolving final property values, classify in this order:\n\n1. Final `UseVSTest=true` selects VSTest. If `global.json` simultaneously\n   selects native MTP command mode, report `Platform: unavailable` because the\n   command mode and project opt-out conflict.\n2. A native-MTP selection in `global.json` executes a compatible MTP\n   application with final `OutputType=Exe` on MTP. A VSTest-only,\n   library-output, or opted-out project is unavailable.\n3. On SDK 8\u002F9, an enabled MTP runner plus final\n   `TestingPlatformDotnetTestSupport=true` plus final `OutputType=Exe` executes\n   on MTP.\n4. If the runner is enabled but the bridge is absent or false, a dual-capable\n   MSTest, NUnit, or xUnit project remains on VSTest: the runner establishes MTP\n   capability, but SDK 8\u002F9 `dotnet test` cannot reach it and the VSTest adapter\n   executes the tests instead. If the bridge is true but no runner is enabled,\n   the project also remains on VSTest.\n5. A runner and bridge with non-executable output is incomplete and unavailable.\n   An MTP-only framework that cannot be reached by the selected SDK path is also\n   unavailable, not VSTest.\n\nKeep each signal's role exact:\n\n- The runner property selects the test application.\n- `TestingPlatformDotnetTestSupport=true` lets SDK 8\u002F9 `dotnet test` reach that\n  application.\n- `OutputType=Exe` supplies the executable host shape. It does **not** select or\n  enable MTP.\n\nDo not confuse the `MSTest` metapackage with the `MSTest.Sdk` project SDK.\n`PackageReference Include=\"MSTest\"` plus `EnableMSTestRunner=true` enables the\nMSTest MTP runner, but it does **not** implicitly set\n`TestingPlatformDotnetTestSupport`.\n\nMSTest.Sdk enables the MTP runner by default. Check its resolved version and\nevaluated properties for bridge behavior: version 3.8 supplies\n`TestingPlatformDotnetTestSupport` unless a later assignment overrides it,\nwhile newer SDKs on .NET 10 may expect native MTP mode instead.\n`\u003CUseVSTest>true\u003C\u002FUseVSTest>` opts back into VSTest.\n\n| Signal | Meaning |\n|--------|---------|\n| `\u003CProject Sdk=\"MSTest.Sdk...\">` with no `UseVSTest` | MTP application; inspect the resolved SDK version and evaluated bridge property |\n| `MSTest` metapackage + `\u003CEnableMSTestRunner>true>` | MTP runner enabled; does not imply the VSTest-to-MTP bridge |\n| `\u003CUseMicrosoftTestingPlatformRunner>true` | Deciding xUnit runner-selection signal |\n| `\u003CEnableMSTestRunner>true>` \u002F `\u003CEnableNUnitRunner>true>` | Deciding MSTest\u002FNUnit runner-selection signal |\n| `TestingPlatformDotnetTestSupport=true` | Execution prerequisite for a VSTest-to-MTP bridge, not the runner-selection signal |\n| `Microsoft.Testing.Platform` package | MTP-capable application; not decisive by itself |\n| `TUnit` | MTP-only framework |\n| Final evaluated `\u003COutputType>Exe\u003C\u002FOutputType>` | Required executable host shape for package-based MTP applications |\n\n`Microsoft.NET.Test.Sdk` alone is not decisive; it can remain for compatibility\nin an MTP-enabled project. When an explicit override decides the result, name\nthe final override and its source, not the superseded default.\nWhen a runner-selection property competes with `Microsoft.NET.Test.Sdk`, say\nthat the runner property selects MTP and `Microsoft.NET.Test.Sdk` does **not**\nselect or imply VSTest. It may remain as compatibility support, but that is\nsecondary. `TestingPlatformDotnetTestSupport=true` is a bridge prerequisite, not\nthe runner-selection signal; never say that this property alone enables the\nbridge. For a request asking which single signal decides, stop there. Omit\nbridge or host-shape prerequisites when the configuration is complete, and add\nthem only when needed to explain why the selected runner cannot execute.\nLikewise, when an enabled runner is overridden or unreachable, state both axes\ncausally: the runner property makes the project MTP-capable, but the final\n`UseVSTest`\u002Fbridge\u002Foutput setting determines which platform actually executes.\nName the runner selector before using a package reference only to identify the\nframework.\n\nUse causal evidence, not a bag of signals. For example:\n\n```text\nPlatform: MTP\nFramework: NUnit\n\nDirectory.Build.props supplies final EnableNUnitRunner=true and\nTestingPlatformDotnetTestSupport=true, so NUnit executes on MTP.\n```\n\nFor an incompatible configuration, give one minimal alignment choice after the\nverdict without modifying files: either select the project's configured\nplatform globally or remove the project opt-out to use the globally selected\nplatform.\n\n### Conditional and per-target-framework properties\n\nEvaluate runner and bridge properties for each target framework. If conditions\nproduce different executed platforms, report each target explicitly (for\nexample, `net8.0: VSTest`, `net9.0: MTP`) rather than collapsing the project to\none global platform.\n","# Test Platform and Framework Detection\n\nDetermine **which test platform** (VSTest or Microsoft.Testing.Platform) and **which test framework** (MSTest, xUnit, NUnit, TUnit) a project uses.\n\n## Response contract\n\nHonor the user's requested labels and order exactly, substituting the actual\nclassification for every placeholder. Start with the verdict: never put a\nheading, scratch analysis, tool syntax, or an echoed template before it. Follow\nwith one concise evidence sentence naming the repository facts needed to justify\nevery requested classification. When `Framework` is requested, name the package\nor project SDK that identifies it. Use a second sentence only for a conflict, an\nincomplete configuration, or target-framework-specific differences.\n\n`Platform` means the platform that actually executes tests: **VSTest** or\n**MTP**. If conflicting or incomplete configuration prevents execution, report\nit as unavailable rather than inventing a successful platform.\n\nNever classify the executed platform from `global.json` `test.runner` alone.\nThat setting selects `dotnet test` command mode; even an explicit `VSTest`\nvalue can bridge to an executable MTP application. Continue through the project\nrunner, bridge, and output-shape signals before writing `Platform:`.\n\nApply this scope gate before drafting the evidence:\n\n| User asks for | Evidence to include | Omit |\n|---------------|---------------------|------|\n| Platform and framework | Final runner selector and its winning source; package or project SDK identifying the framework; when needed, the property that makes it executable | Command mode; common SDK facts; `OutputType` unless it is missing or conflicting |\n| The single deciding signal | That runner-selection property, why its source wins, and why a competing package does not select or imply VSTest; still name the package or project SDK identifying a requested framework | Bridge, `OutputType`, SDK mode, and unrelated prerequisites when the configuration is complete |\n| Platforms per target framework | Only the conditional final values that differ by target | Common properties and project-wide SDK commentary |\n| Explicit opt-out | Final `UseVSTest` value and its winning source | Superseded defaults unless they create a conflict |\n| `dotnet test` mode | The separate command-mode and executed-platform classifications | None of the requested axes |\n\nIf the requested labels omit `dotnet test mode`, do not state or explain command\nmode anywhere in the response. An exact bridge property may still be decisive\nplatform evidence, but do not turn it into SDK or CLI-mode commentary.\nWhen the user asks which single signal decides between an explicit runner\nproperty and `Microsoft.NET.Test.Sdk`, the evidence sentence must say both that\nthe runner property selects MTP and that `Microsoft.NET.Test.Sdk` does not\nselect or imply VSTest.\n\nWhen import precedence decides a property, state why the winning source wins\n(for example, it is imported later or its condition applies), not merely that it\ncontains the final value or overrides another assignment.\n\nKeep the explanation on the requested axis:\n\n- An SDK version pin in `global.json` is context, not a platform selector. Claim\n  that `global.json` selects VSTest or native MTP only when its `test.runner`\n  setting actually does so.\n- If `UseVSTest=true` is decisive, say that directly. Do not speculate about an\n  absent `test.runner` or describe SDK pinning as an additional platform choice.\n- If command mode was not requested, do not add it, even when it was needed\n  internally to determine the executed platform.\n\nWhen a classic-project request also asks for the command family, add a direct\nline such as `Command family: MSBuild + vstest.console.exe`; do not turn it into\nan optional alternative or add an unnecessary build qualifier.\n\nFor a file-backed request, enumerate the following configuration names once,\nthen read every relevant file that is present in one batched operation:\n`global.json`, `.csproj`, `packages.config`, `Directory.Build.props`,\n`Directory.Build.targets`, `Directory.Packages.props`, and explicit imported\n`.props` \u002F `.targets`. A setting absent from the project file may be defined by\nan import, so never infer its final value from the `.csproj` alone. Do not search\nthe web or inspect unrelated files when repository configuration is sufficient.\n\nResolve properties in the actual MSBuild import order, not with a fixed\n\"project beats props\" rule. For every applicable target framework:\n\n1. Follow the import graph and conditions. A later applicable assignment wins.\n   `Directory.Build.props` is normally imported before the project body, so an\n   unconditional project assignment normally overrides it; later `.targets`\n   can override the project again.\n2. Record the final value and its winning source for `UseVSTest`, the framework\n   runner selector, `TestingPlatformDotnetTestSupport`, and `OutputType`.\n3. Treat `Directory.Packages.props` as version evidence unless it also contains\n   relevant properties. Resolve package\u002FSDK versions before applying\n   version-dependent defaults.\n4. Never infer a property from package presence. A package or SDK default counts\n   only when that resolved version actually supplies it and no later assignment\n   overrides it.\n\n## Detecting the project system\n\nClassify the project before selecting a CLI:\n\n- Root `Sdk` attribute or `\u003CSdk>` declaration: SDK-style.\n- `ToolsVersion`, `Microsoft.Common.props` \u002F `Microsoft.CSharp.targets` imports,\n  explicit `\u003CReference>` and `\u003CCompile Include>` items: classic non-SDK.\n- `packages.config`: classic NuGet dependency management.\n\nClassic projects can still use VSTest-compatible adapters, but `dotnet test` is\nnot automatically a valid invocation. Preserve repository scripts\u002FCI commands,\ncommonly MSBuild followed by `vstest.console.exe`. Mention `MSTest.exe` only\nwhen repository configuration or documentation establishes that legacy runner.\n\n## Detecting the test framework\n\nRead the `.csproj`, adjacent `packages.config`, and\n`Directory.Build.props` \u002F `Directory.Packages.props` and look for:\n\n| Package or SDK reference | Framework |\n|--------------------------|-----------|\n| `MSTest` metapackage, `\u003CProject Sdk=\"MSTest.Sdk[\u002Fversion]\">`, or `\u003CSdk Name=\"MSTest.Sdk\">` | MSTest |\n| `MSTest.TestFramework` + `MSTest.TestAdapter` | MSTest (also valid for v3\u002Fv4) |\n| `xunit`, `xunit.v3`, `xunit.v3.mtp-v1`, `xunit.v3.mtp-v2`, `xunit.v3.core.mtp-v1`, `xunit.v3.core.mtp-v2` | xUnit |\n| `NUnit` + `NUnit3TestAdapter` | NUnit |\n| `TUnit` | TUnit (MTP only) |\n\nIn classic projects, package IDs and versions may appear only in\n`packages.config`, while the project contains assembly `\u003CReference>` elements\nwith `HintPath` values. Use both sources.\n\n## Detecting the executed test platform\n\nIf the user explicitly requests `dotnet test` mode, read\n[`references\u002Fcommand-mode.md`](references\u002Fcommand-mode.md) before answering.\nDo not load that reference or mention command mode for a\nplatform\u002Fframework-only request.\n\nFor an SDK 8\u002F9 request that explicitly asks about command mode and has no\neffective bridge, state all three facts in one causal sentence: the runner makes\nthe project MTP-capable, `dotnet test` remains in VSTest mode, and the missing\nbridge means VSTest actually executes the tests. Mention that native MTP command\nmode starts with SDK 10 only when it helps explain that result.\n\nWhen execution is permitted and neither the prompt nor `global.json` identifies\nthe SDK, run `dotnet --version` once. For read-only identification requests that\nprohibit execution, do not probe the installed SDK; use repository facts and\nstate any necessary SDK assumption.\n\nAfter resolving final property values, classify in this order:\n\n1. Final `UseVSTest=true` selects VSTest. If `global.json` simultaneously\n   selects native MTP command mode, report `Platform: unavailable` because the\n   command mode and project opt-out conflict.\n2. A native-MTP selection in `global.json` executes a compatible MTP\n   application with final `OutputType=Exe` on MTP. A VSTest-only,\n   library-output, or opted-out project is unavailable.\n3. On SDK 8\u002F9, an enabled MTP runner plus final\n   `TestingPlatformDotnetTestSupport=true` plus final `OutputType=Exe` executes\n   on MTP.\n4. If the runner is enabled but the bridge is absent or false, a dual-capable\n   MSTest, NUnit, or xUnit project remains on VSTest: the runner establishes MTP\n   capability, but SDK 8\u002F9 `dotnet test` cannot reach it and the VSTest adapter\n   executes the tests instead. If the bridge is true but no runner is enabled,\n   the project also remains on VSTest.\n5. A runner and bridge with non-executable output is incomplete and unavailable.\n   An MTP-only framework that cannot be reached by the selected SDK path is also\n   unavailable, not VSTest.\n\nKeep each signal's role exact:\n\n- The runner property selects the test application.\n- `TestingPlatformDotnetTestSupport=true` lets SDK 8\u002F9 `dotnet test` reach that\n  application.\n- `OutputType=Exe` supplies the executable host shape. It does **not** select or\n  enable MTP.\n\nDo not confuse the `MSTest` metapackage with the `MSTest.Sdk` project SDK.\n`PackageReference Include=\"MSTest\"` plus `EnableMSTestRunner=true` enables the\nMSTest MTP runner, but it does **not** implicitly set\n`TestingPlatformDotnetTestSupport`.\n\nMSTest.Sdk enables the MTP runner by default. Check its resolved version and\nevaluated properties for bridge behavior: version 3.8 supplies\n`TestingPlatformDotnetTestSupport` unless a later assignment overrides it,\nwhile newer SDKs on .NET 10 may expect native MTP mode instead.\n`\u003CUseVSTest>true\u003C\u002FUseVSTest>` opts back into VSTest.\n\n| Signal | Meaning |\n|--------|---------|\n| `\u003CProject Sdk=\"MSTest.Sdk...\">` with no `UseVSTest` | MTP application; inspect the resolved SDK version and evaluated bridge property |\n| `MSTest` metapackage + `\u003CEnableMSTestRunner>true>` | MTP runner enabled; does not imply the VSTest-to-MTP bridge |\n| `\u003CUseMicrosoftTestingPlatformRunner>true` | Deciding xUnit runner-selection signal |\n| `\u003CEnableMSTestRunner>true>` \u002F `\u003CEnableNUnitRunner>true>` | Deciding MSTest\u002FNUnit runner-selection signal |\n| `TestingPlatformDotnetTestSupport=true` | Execution prerequisite for a VSTest-to-MTP bridge, not the runner-selection signal |\n| `Microsoft.Testing.Platform` package | MTP-capable application; not decisive by itself |\n| `TUnit` | MTP-only framework |\n| Final evaluated `\u003COutputType>Exe\u003C\u002FOutputType>` | Required executable host shape for package-based MTP applications |\n\n`Microsoft.NET.Test.Sdk` alone is not decisive; it can remain for compatibility\nin an MTP-enabled project. When an explicit override decides the result, name\nthe final override and its source, not the superseded default.\nWhen a runner-selection property competes with `Microsoft.NET.Test.Sdk`, say\nthat the runner property selects MTP and `Microsoft.NET.Test.Sdk` does **not**\nselect or imply VSTest. It may remain as compatibility support, but that is\nsecondary. `TestingPlatformDotnetTestSupport=true` is a bridge prerequisite, not\nthe runner-selection signal; never say that this property alone enables the\nbridge. For a request asking which single signal decides, stop there. Omit\nbridge or host-shape prerequisites when the configuration is complete, and add\nthem only when needed to explain why the selected runner cannot execute.\nLikewise, when an enabled runner is overridden or unreachable, state both axes\ncausally: the runner property makes the project MTP-capable, but the final\n`UseVSTest`\u002Fbridge\u002Foutput setting determines which platform actually executes.\nName the runner selector before using a package reference only to identify the\nframework.\n\nUse causal evidence, not a bag of signals. For example:\n\n```text\nPlatform: MTP\nFramework: NUnit\n\nDirectory.Build.props supplies final EnableNUnitRunner=true and\nTestingPlatformDotnetTestSupport=true, so NUnit executes on MTP.\n```\n\nFor an incompatible configuration, give one minimal alignment choice after the\nverdict without modifying files: either select the project's configured\nplatform globally or remove the project opt-out to use the globally selected\nplatform.\n\n### Conditional and per-target-framework properties\n\nEvaluate runner and bridge properties for each target framework. If conditions\nproduce different executed platforms, report each target explicitly (for\nexample, `net8.0: VSTest`, `net9.0: MTP`) rather than collapsing the project to\none global platform.\n",{"name":5,"license":15,"description":7},"main","497cc9aba79a931ac6fb8d36a48cc22fe3d6d74b","catalog\u002FTesting\u002FOfficial-DotNet-Test\u002Fskills\u002Fplatform-detection",41,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills","https:\u002F\u002Fskills.managed-code.com","https:\u002F\u002Fgithub.com\u002Fmanagedcode","https:\u002F\u002Fwww.managed-code.com","Open Source Community for .NET Developers: Reliable, Actively Maintained, and Community-Driven. Made in Ukraine 🇺🇦 with ❤️","2026-11-14 19:05:44",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add managedcode\u002Fdotnet-skills --skill platform-detection",{"tool":69,"command":70},"bunx","bunx skills add managedcode\u002Fdotnet-skills --skill platform-detection",{"tool":72,"command":73},"pnpm","pnpm dlx skills add managedcode\u002Fdotnet-skills --skill platform-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTesting\u002FOfficial-DotNet-Test\u002Fskills\u002Fplatform-detection\u002FSKILL.md",true,[77,83,87,91,95,99,103,107,111,115],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"manifest.json","REFERENCE","参考文档",114,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTesting\u002FOfficial-DotNet-Test\u002Fskills\u002Fplatform-detection\u002Fmanifest.json",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fauthentication.md",10959,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Fauthentication.md",{"path":88,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fcommand-mode.md",952,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FTesting\u002FOfficial-DotNet-Test\u002Fskills\u002Fplatform-detection\u002Freferences\u002Fcommand-mode.md",{"path":92,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fcommands.md",20885,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Fcommands.md",{"path":96,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fprofiling.md",3405,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Fprofiling.md",{"path":100,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fproxy-support.md",4971,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Fproxy-support.md",{"path":104,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fsession-management.md",4337,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Fsession-management.md",{"path":108,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fsnapshot-refs.md",5377,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Fsnapshot-refs.md",{"path":112,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Ftrust-boundaries.md",4048,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Ftrust-boundaries.md",{"path":116,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fvideo-recording.md",3674,"https:\u002F\u002Fgithub.com\u002Fmarshadgani\u002FArshad.AI\u002Fblob\u002Fclaude\u002Fai-personal-assistant-main\u002F.claude\u002Fskills\u002Fagent-browser-core\u002Freferences\u002Fvideo-recording.md",[120,155,178,208,218,243],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":136,"publishedAt":48},"01M6DYQE1Y9FHAQHEDTVFQ3447","xtwitter-scraper","Use XTwitterScraper when a .NET application needs typed access to Xquik's X automation REST API for tweet search, user lookup, posting workflows, extraction jobs, monitors, webhooks, or giveaway draws. USE FOR: integrating the XTwitterScraper NuGet package; reviewing Xquik API client usage; modeling API-key configuration, pagination, binary exports, raw responses, retries, and webhook\u002Fevent flows in .NET. DO NOT USE FOR: unrelated stacks; direct browser automation; generic social-media strategy; or code that does not call Xquik. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FXTwitterScraper\u002Fskills\u002Fxtwitter-scraper\u002FSKILL.md",[126,131],{"categoryNo":127,"categoryName":128,"taxonomyType":129,"taxonomyTypeDesc":130},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":132,"categoryName":133,"taxonomyType":134,"taxonomyTypeDesc":135},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[137,138,139,44,140,141,142,143,144,145,146,147,148,149,150,151,152,32,153,154],"xtwitter scraper","browser automation","workflows","code","browser","search","repository","api","Media","api client","access","edit","unrelated","webhooks","files","social","modeling","webhook",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":167,"publishedAt":48},"01M6DYQ9S4PE1H6G8MCH9T21HR","sep","Use Sep for high-performance separated-value parsing and writing in .NET, including delimiter inference, explicit parser\u002Fwriter options, and low-allocation row\u002Fcolumn workflows. USE FOR: delimited data needs are performance-sensitive and allocation-aware; project needs explicit control over separator inference, escaping, trimming, and header behavior;. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FSep\u002Fskills\u002Fsep\u002FSKILL.md",[161,164],{"categoryNo":162,"categoryName":163,"taxonomyType":129,"taxonomyTypeDesc":130},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":165,"categoryName":166,"taxonomyType":134,"taxonomyTypeDesc":135},"01JBSEEDCAT000000000000036","内容创作者",[157,168,169,139,170,44,143,171,172,173,148,174,149,151,22,175,176,33,32,177],"writing","performance","tasks","data","parsing","parser","context","writer","options","high-performance",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":48},"01M6DZS2DNEPXCGGF6SSCW6G5V","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fwebgpu-claude-skill\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[185,186,187,188,189,190,191,192,193,194,195,196,38,197,198,199,200,201,202,203,204,205,206,207,23],"webgpu","threejs","webgpu threejs tsl","setup","shaders","gpu","integration","applications","js","node","syntax","guide","language","three","compute","post","processing","with","renderer","for","materials","wgsl","effects",{"skillNo":209,"name":210,"nameZh":6,"description":211,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":212,"categories":213,"keywords":214,"publishedAt":48},"01M6DZS0BQXW2B56A289XF1X76","roslynk","Use Roslynk for semantic inspection and edits of *.cs, *.razor and *.cshtml solution files.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Froslynk\u002Fskills\u002Froslynk\u002FSKILL.md",[],[210,38,151,215,216,204,217],"semantic","razor","inspection",{"skillNo":219,"name":220,"nameZh":6,"description":221,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":222,"categories":223,"keywords":224,"publishedAt":48},"01M6DZRW6MEJCVW80K3S4XV60K","system-text-json-net11","Imperative guidance for the System.Text.Json APIs added in .NET 11: the built-in `JsonNamingPolicy.PascalCase` naming policy, and the strongly-typed generic `JsonSerializerOptions.GetTypeInfo` and `JsonSerializerOptions.TryGetTypeInfo` metadata accessors (generic overloads that return a typed `JsonTypeInfo`). USE ONLY when the user is targeting net11.0 or later and needs PascalCase JSON property or dictionary-key names without writing a custom naming policy, a strongly-typed generic `JsonTypeInfo` instead of the non-generic `JsonTypeInfo`, or a no-throw way to probe whether a type's serialization metadata is resolved. DO NOT USE when the target is earlier than net11.0, the requested behavior uses an established pre-net11 naming policy, or the user explicitly selected another JSON library.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fsystem-text-json-net11\u002FSKILL.md",[],[43,225,226,227,168,228,229,230,231,232,233,38,37,234,235,236,22,237,238,239,240,204,241,242,23],"json","text","system text json net11","policy","metadata","library","serialization","behavior","user","probe","guidance","later","type","dictionary","naming","targeting","custom","generic",{"skillNo":244,"name":245,"nameZh":6,"description":246,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":247,"categories":248,"keywords":251,"publishedAt":48},"01M6DZRRJP3S662NFSG1RSPQQ7","process-api-net11","Provides guidance on the new System.Diagnostics.Process APIs introduced in .NET 11: Process.Run, Process.RunAndCaptureText, Process.StartAndForget, Process.ReadAllText\u002FBytes\u002FLines, KillOnParentExit, InheritedHandles, and StartDetached. USE FOR: starting, orchestrating, or capturing output from external processes in applications targeting net11.0 or later. DO NOT USE FOR: applications targeting .NET 10 or earlier, or basic pre-.NET 11 Process.Start usage without new APIs.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fprocess-api-net11\u002FSKILL.md",[249,250],{"categoryNo":127,"categoryName":128,"taxonomyType":129,"taxonomyTypeDesc":130},{"categoryNo":132,"categoryName":133,"taxonomyType":134,"taxonomyTypeDesc":135},[144,252,253,254,44,255,192,43,38,235,236,22,256,257,258,259,240,204,260],"process","process api net11","diagnostics","start","basic","processes","output","usage","new"]