[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DZGR9ZM8VG3AAJ6C2YJWJ0":3,"skill-same:01M6DZGR9ZM8VG3AAJ6C2YJWJ0":74},{"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":23,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6DZGR9ZM8VG3AAJ6C2YJWJ0","check-bin-obj-clash",null,"Find OutputPath\u002FIntermediateOutputPath collisions between distinct projects or required property\u002FTFM variants. USE FOR: missing\u002Foverwritten bin\u002Fobj or project.assets.json, parallel 'Cannot create a file when that file already exists' or 'file is being used by another process', shared paths, missing AppendTargetFrameworkToOutputPath, PublishReadyToRun, SetTargetFramework on single-target references. DO NOT USE FOR: duplicates or invariant-generation races (find-repeated-work-within-one-build), OS locking, single-instance builds, non-MSBuild systems.","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\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet-msbuild\u002Fskills\u002Fcheck-bin-obj-clash\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"check","OBJ","check bin obj clash","duplicates","single","for","parallel","paths","work","references","when","variants","shared","file","use","missing","do","os","create","project","projects","2026-11-10 10:12:30",false,"---\nname: check-bin-obj-clash\ndescription: \"Find OutputPath\u002FIntermediateOutputPath collisions between distinct projects or required property\u002FTFM variants. USE FOR: missing\u002Foverwritten bin\u002Fobj or project.assets.json, parallel 'Cannot create a file when that file already exists' or 'file is being used by another process', shared paths, missing AppendTargetFrameworkToOutputPath, PublishReadyToRun, SetTargetFramework on single-target references. DO NOT USE FOR: duplicates or invariant-generation races (find-repeated-work-within-one-build), OS locking, single-instance builds, non-MSBuild systems.\"\nlicense: MIT\n---\n\n# Detecting OutputPath and IntermediateOutputPath Clashes\n\n## Overview\n\nThis skill helps identify when multiple MSBuild project evaluations share the same `OutputPath` or `IntermediateOutputPath`. This is a common source of build failures including:\n\n- File access conflicts during parallel builds\n- Missing or overwritten output files\n- Intermittent build failures\n- \"File in use\" errors\n- **NuGet restore errors like `Cannot create a file when that file already exists`** - this strongly indicates multiple projects share the same `IntermediateOutputPath` where `project.assets.json` is written\n\nClashes can occur between:\n- **Different projects** sharing the same output directory\n- **Multi-targeting builds** (e.g., `TargetFrameworks=net8.0;net9.0`) where the path doesn't include the target framework\n- **Multiple solution builds** where the same project is built from different solutions in a single build\n\n**Note:** Project instances with `BuildProjectReferences=false` should be **ignored** when analyzing clashes - these are P2P reference resolution builds that only query metadata (via `GetTargetPath`) and do not actually write to output directories.\n\n## When to Use This Skill\n\n**Invoke this skill immediately when you see:**\n- `Cannot create a file when that file already exists` during NuGet restore\n- `The process cannot access the file because it is being used by another process`\n- Intermittent build failures that succeed on retry\n- Missing output files or unexpected overwriting\n\n## Step 1: Generate a Binary Log\n\nUse the `binlog-generation` skill to generate a binary log with the correct naming convention.\n\n## Primary workflow — binlog MCP\n\nThe MCP server exposes structured tools for inspecting a `.binlog` without\nparsing text logs. Call them directly instead of replaying the binlog to a text\nfile. Call `tools\u002Flist` for the MCP first if you are unsure which tools are available.\n\n**Important constraints:**\n- The `.binlog` file is a **binary format** — do NOT try to `cat`, `head`, `strings`, or read it directly. Use only the MCP tools to query it.\n- **Synthesize findings as you go.** Do not spend all available time investigating — once you have enough evidence, present your conclusions.\n\n### Step 2: Get an overview and list projects\n\nUse the MCP overview and projects tools to understand the build and list all projects that participated.\n\n### Step 3: Check evaluations and global properties\n\nUse the MCP `evaluations` and `evaluation_global_properties` tools to find all evaluations per project. Look for:\n- Multiple evaluations for the same project (indicates multi-targeting or multiple build configurations)\n- Differing global properties between evaluations (`TargetFramework`, `Configuration`, `RuntimeIdentifier`, `SolutionFileName`, `PublishReadyToRun`, etc.)\n\n### Step 4: Get output paths for each evaluation\n\nUse the MCP properties tool to query `OutputPath`, `IntermediateOutputPath`, `BaseOutputPath`, and `BaseIntermediateOutputPath` for each project evaluation.\n\n### Step 5: Check for double writes\n\nUse the MCP double_writes tool if available — it directly detects files written by multiple project instances.\n\n### Step 6: Identify clashes\n\nCompare the `OutputPath` and `IntermediateOutputPath` values across all evaluations:\n1. **Normalize paths** - Convert to absolute paths and normalize separators\n2. **Group by path** - Find evaluations that share the same OutputPath or IntermediateOutputPath\n3. **Filter out non-build evaluations** - Exclude `BuildProjectReferences=false` instances (P2P queries)\n4. **Report clashes** - Any group with more than one evaluation indicates a clash\n\n## Fallback workflow — text-log replay (when MCP is unavailable)\n\nUse this only when the MCP server cannot be started.\n\nReplay the binlog to a diagnostic text log, then grep for the same signals the MCP tools surface:\n\n```bash\ndotnet msbuild build.binlog -noconlog -fl \"-flp:v=diag;logfile=full.log\"\n```\n\nThen extract the clash signals:\n\n- **Projects & evaluations** — list evaluation starts and count them per project: `grep 'Evaluation started' full.log | grep -oiE '\"[^\"]+\\.[a-z]+proj\"' | sort | uniq -c`. Matching the full **quoted path** keeps same-named projects in different directories distinct (and tolerates spaces in paths); a path with a count ≥ 2 was evaluated more than once (multi-targeting or extra global properties). (`grep -c` alone only totals evaluations across the whole log, so it can't reveal per-project duplication.)\n- **Output paths** — `grep -iE 'OutputPath[[:space:]]*=|IntermediateOutputPath[[:space:]]*=|BaseOutputPath[[:space:]]*=|BaseIntermediateOutputPath[[:space:]]*=' full.log | sort -u`, or query a project directly: `dotnet msbuild MyProject.csproj -getProperty:OutputPath` (and `IntermediateOutputPath`, `BaseIntermediateOutputPath`).\n- **Distinguishing global properties** — `grep -iE 'TargetFramework|Configuration|Platform|RuntimeIdentifier|SolutionFileName|PublishReadyToRun' full.log`. See the [Global Properties to Check](#global-properties-to-check-when-comparing-evaluations) table for which affect the path and which just fork a redundant instance.\n- **Corroborating evidence (optional)** — `grep 'Target \"CopyFilesToOutputDirectory\"' full.log` plus `grep 'SkipUnchangedFiles' full.log` show a second instance writing (or skipping a masked write) to the same path; a long vs ~0 ms `CoreCompile` distinguishes the real build from a redundant instance.\n\n**Then identify clashes:** normalize paths to absolute, group evaluations by `OutputPath` and by `IntermediateOutputPath`, and exclude `BuildProjectReferences=false` (P2P queries) — plus, for `OutputPath` only, `MSBuildRestoreSessionId` restore evaluations. Any group with more than one remaining evaluation is a clash.\n\n## Common Causes and Fixes\n\n### Multi-targeting without TargetFramework in path\n\n**Problem:** Project uses `TargetFrameworks` but OutputPath doesn't vary by framework.\n\n```xml\n\u003C!-- BAD: Same path for all frameworks -->\n\u003COutputPath>bin\\$(Configuration)\\\u003C\u002FOutputPath>\n```\n\n**Fix:** Include TargetFramework in the path:\n\n```xml\n\u003C!-- GOOD: Path varies by framework -->\n\u003COutputPath>bin\\$(Configuration)\\$(TargetFramework)\\\u003C\u002FOutputPath>\n```\n\nOr rely on SDK defaults which handle this automatically:\n\n```xml\n\u003CAppendTargetFrameworkToOutputPath>true\u003C\u002FAppendTargetFrameworkToOutputPath>\n\u003CAppendTargetFrameworkToIntermediateOutputPath>true\u003C\u002FAppendTargetFrameworkToIntermediateOutputPath>\n```\n\n### Shared output directory across projects (CANNOT be fixed with AppendTargetFramework)\n\n**Problem:** Multiple projects explicitly set the same `BaseOutputPath` or `BaseIntermediateOutputPath`.\n\n```xml\n\u003C!-- Project A - Directory.Build.props -->\n\u003CBaseOutputPath>..\\SharedOutput\\\u003C\u002FBaseOutputPath>\n\u003CBaseIntermediateOutputPath>..\\SharedObj\\\u003C\u002FBaseIntermediateOutputPath>\n\n\u003C!-- Project B - Directory.Build.props -->\n\u003CBaseOutputPath>..\\SharedOutput\\\u003C\u002FBaseOutputPath>\n\u003CBaseIntermediateOutputPath>..\\SharedObj\\\u003C\u002FBaseIntermediateOutputPath>\n```\n\n**IMPORTANT:** Even with `AppendTargetFrameworkToOutputPath=true`, this will still clash! .NET writes certain files directly to the `IntermediateOutputPath` without the TargetFramework suffix, including:\n\n- `project.assets.json` (NuGet restore output)\n- Other NuGet-related files\n\nThis causes errors like `Cannot create a file when that file already exists` during parallel restore.\n\n**Fix:** Each project MUST have a unique `BaseIntermediateOutputPath`. Do not share intermediate output directories across projects:\n\n```xml\n\u003C!-- Project A -->\n\u003CBaseIntermediateOutputPath>..\\obj\\ProjectA\\\u003C\u002FBaseIntermediateOutputPath>\n\n\u003C!-- Project B -->\n\u003CBaseIntermediateOutputPath>..\\obj\\ProjectB\\\u003C\u002FBaseIntermediateOutputPath>\n```\n\nOr simply use the SDK defaults which place `obj` inside each project's directory.\n\n### RuntimeIdentifier builds clashing\n\n**Problem:** Building for multiple RIDs without RID in path.\n\n**Fix:** Ensure RuntimeIdentifier is in the path:\n\n```xml\n\u003CAppendRuntimeIdentifierToOutputPath>true\u003C\u002FAppendRuntimeIdentifierToOutputPath>\n```\n\n### Multiple solutions building the same project\n\n**Problem:** A single build invokes multiple solutions (e.g., via MSBuild task or command line) that include the same project. Each solution build evaluates and builds the project independently, with different `Solution*` global properties that don't affect the output path.\n\n**How to detect:** Compare `SolutionFileName` and `CurrentSolutionConfigurationContents` across evaluations for the same project. Different values indicate multi-solution builds. For example:\n\n| Property | Eval from Solution A | Eval from Solution B |\n|---|---|---|\n| `SolutionFileName` | `BuildAnalyzers.sln` | `Main.slnx` |\n| `CurrentSolutionConfigurationContents` | 1 project entry | ~49 project entries |\n| `OutputPath` | `bin\\Release\\netstandard2.0\\` | `bin\\Release\\netstandard2.0\\` ← **clash** |\n\n**Example:** A repo build script builds `BuildAnalyzers.sln` then `Main.slnx`, and both solutions include `SharedAnalyzers.csproj`. Both builds write to `bin\\Release\\netstandard2.0\\`. The first build compiles; the second skips compilation but still runs `CopyFilesToOutputDirectory`.\n\n**Fix:** Options include:\n1. **Consolidate solutions** - Ensure each project is only built from one solution in a single build\n2. **Use different configurations** - Build solutions with different `Configuration` values that result in different output paths\n3. **Exclude duplicate projects** - Use solution filters or conditional project inclusion to avoid building the same project twice\n\n### Extra global properties creating redundant project instances\n\n**Problem:** A project is built multiple times within the same solution due to extra global properties (e.g., `PublishReadyToRun=false`) that create distinct MSBuild project instances. These properties don't affect output paths but prevent MSBuild from caching results across instances, causing redundant target execution.\n\n**How to detect:** Compare global properties across evaluations for the same project within the same solution (same `SolutionFileName`). Look for properties that differ but don't contribute to path differentiation:\n\n| Property | Eval A (from Razor.slnx) | Eval B (from Razor.slnx) |\n|---|---|---|\n| `PublishReadyToRun` | *(not set)* | `false` |\n| `OutputPath` | `bin\\Release\\netstandard2.0\\` | `bin\\Release\\netstandard2.0\\` ← **clash** |\n\nThis is particularly wasteful for projects where the extra property has no effect (e.g., `PublishReadyToRun` on a `netstandard2.0` class library that doesn't use ReadyToRun compilation).\n\n**Fix:** Options include:\n1. **Remove the extra global property** - Investigate which parent target\u002Ftask is injecting the property and prevent it from being passed to projects that don't need it\n2. **Use `RemoveGlobalProperties` metadata** - On `ProjectReference` items, use `RemoveGlobalProperties=\"PublishReadyToRun\"` to strip the property before building the referenced project\n3. **Condition the property** - Only set the property on projects that actually use it (e.g., only for executable projects, not class libraries)\n\n### Explicit `\u003CMSBuild>` Build\u002FPublish with extra global properties (self or cross-project)\n\n**Problem:** A target uses the `\u003CMSBuild>` task to build or publish a project with an extra global property, most commonly a \"publish-on-build\" target. The offending call can be in the target project itself **or in another project** that consumes it (e.g. a test or layout project publishing a tool):\n\n```xml\n\u003C!-- (a) same project (publish-on-build) -->\n\u003CTarget Name=\"PublishOnBuild\" AfterTargets=\"Build\">\n  \u003CMSBuild Projects=\"$(MSBuildProjectFullPath)\" Targets=\"Publish\" Properties=\"_IsPublishing=true\" \u002F>\n\u003C\u002FTarget>\n\n\u003C!-- (b) project A publishes project B that it consumes -->\n\u003CMSBuild Projects=\"..\\tool\\tool.csproj\" Targets=\"Publish\" Properties=\"_IsPublishing=true\" \u002F>\n```\n\nEither way this forks a distinct instance of the target project (`path` + `{_IsPublishing=true}`) that shares the same `OutputPath`\u002F`IntermediateOutputPath` as the instance the solution\u002Fgraph already builds. Both write the same files — for NativeAOT this includes the `*.sourcelink` intermediate, which produces `SourceLinkWriter` \u002F \"file in use\" failures under parallel builds.\n\n**How to detect:** Follow the Primary workflow above — the `evaluations` and `evaluation_global_properties` tools surface two evaluations of the target project that share the same `OutputPath`\u002F`IntermediateOutputPath` but differ only by a path-neutral publish flag such as `_IsPublishing`, and the `double_writes` tool flags the resulting shared-file writes directly. To tell case (a) from (b), see which project the extra `{_IsPublishing=true}` evaluation runs *under* in the build tree (from the overview\u002Fprojects tools): the target project itself for (a), or a consumer project that invoked the `\u003CMSBuild>` task for (b).\n\n**Fix:** Depends on where the call lives:\n\n- **Same project (a):** you can't strip the property with `RemoveGlobalProperties` (the project injects it on itself). Set the flag as a **static** (non-global) property and run the target in the **same** instance via `DependsOnTargets`\u002F`CallTarget`, with a guard against a target cycle when publish is the entry point:\n\n```xml\n\u003CPropertyGroup>\n  \u003C_PublishWasInvokedDirectly Condition=\"'$(_IsPublishing)' == 'true'\">true\u003C\u002F_PublishWasInvokedDirectly>\n  \u003C_IsPublishing>true\u003C\u002F_IsPublishing>\n\u003C\u002FPropertyGroup>\n\u003CTarget Name=\"PublishOnBuild\"\n        AfterTargets=\"Build\"\n        DependsOnTargets=\"Publish\"\n        Condition=\"'$(_PublishWasInvokedDirectly)' != 'true'\" \u002F>\n```\n\n- **Cross-project (b):** the consumer must not fork the producer with path-neutral global properties. Make the producer publish as part of its own build (the (a) fix in *its* project), then have the consumer **sequence** it and read its output instead of re-publishing it:\n\n```xml\n\u003CItemGroup>\n  \u003CProjectReference Include=\"..\\tool\\tool.csproj\" ReferenceOutputAssembly=\"false\" \u002F>\n\u003C\u002FItemGroup>\n\u003C!-- consumer reads tool's publish dir; it does NOT invoke Publish on tool -->\n```\n\nSee the `msbuild-antipatterns` skill (AP-22) for the authoring-time smell and rationale.\n\n### `SetTargetFramework` re-injecting a single-targeting project's own TFM on a `ProjectReference`\n\n**Problem:** A `ProjectReference` sets `SetTargetFramework=\"TargetFramework=\u003Ctfm>\"` metadata pointing at a **single-targeting** project (one that uses singular `\u003CTargetFramework>`, not `\u003CTargetFrameworks>`), where the injected `\u003Ctfm>` **equals the TFM the project already targets**. `SetTargetFramework` injects `TargetFramework` as a **global property** on the referenced project's build.\n\n```xml\n\u003C!-- BAD: Tool.csproj single-targets net8.0 and we inject that SAME net8.0 -->\n\u003CProjectReference Include=\"..\\Tool\\Tool.csproj\" SetTargetFramework=\"TargetFramework=net8.0\" \u002F>\n```\n\nInjecting the TFM the project already targets is **path-neutral** — the project already resolves to `bin\\\u003Cconfig>\\net8.0\\` and `obj\\\u003Cconfig>\\net8.0\\` on its own. So it doesn't change the output path; it only forks a distinct instance `(project, {TargetFramework=net8.0})`. The solution\u002Fgraph builds the very same project as `(project, {})`. Both share the same `OutputPath`\u002F`IntermediateOutputPath`, so the project is **built twice** to the same location — a bin\u002Fobj clash under parallel builds.\n\n**How to detect:** Follow the Primary workflow above. The `evaluations` and `evaluation_global_properties` tools surface two evaluations of the referenced project that share the same `OutputPath`\u002F`IntermediateOutputPath` and differ only by a `TargetFramework` global property, while the project itself is single-targeting (its own `TargetFramework` already equals the injected value). The `double_writes` tool flags the resulting shared-file writes directly.\n\n**Note:** The P2P protocol itself does **not** inject `TargetFramework` for a non-multi-targeting reference — the clash comes specifically from the explicit `SetTargetFramework` metadata overriding that safe default.\n\n**Fix:** Remove the redundant `SetTargetFramework` when it just restates the project's own single TFM:\n\n```xml\n\u003C!-- GOOD -->\n\u003CProjectReference Include=\"..\\Tool\\Tool.csproj\" \u002F>\n```\n\n**When `SetTargetFramework` is legitimate (not a clash):**\n\n- **Multi-targeting reference** — the referenced project uses `\u003CTargetFrameworks>` and you need one specific TFM. Each TFM has a distinct output path, so no clash.\n- **Overriding to a *different* TFM** — you may use `SetTargetFramework` on a single-targeting project to build it under a TFM *other than* the one it declares. Because the injected TFM then changes the output path (`obj\\\u003Cconfig>\\\u003Cdifferent-tfm>\\`), the instance no longer collides with `(project, {})`. Only the *same-TFM* case is path-neutral and clashing.\n- **Framework-incompatible reference** — whenever the referencing and referenced projects target **incompatible frameworks** (e.g. a `.NETFramework` project referencing a `.NETCoreApp` project, or vice-versa) — **regardless of single- or multi-targeting on either side** — set `SkipGetTargetFrameworkProperties=\"true\"` (the P2P `GetTargetFrameworkProperties` negotiation would otherwise fail) and `ReferenceOutputAssembly=\"false\"` (an assembly built for an incompatible framework can't be consumed as a reference — you only want to trigger\u002Fsequence the build):\n\n  ```xml\n  \u003CProjectReference Include=\"..\\Tool\\Tool.csproj\"\n                    SkipGetTargetFrameworkProperties=\"true\"\n                    ReferenceOutputAssembly=\"false\" \u002F>\n  ```\n\n  With `SkipGetTargetFrameworkProperties=\"true\"`, the negotiation no longer stops the **referencing** project's own `TargetFramework` global property (present when it builds for a specific TFM, e.g. it is multi-targeting) from flowing into the referenced project. For a **single-targeting** referenced project that would force it to build under the wrong TFM \u002F output path. Prevent it by either setting `SetTargetFramework=\"TargetFramework=\u003Ctfm>\"` (pin the TFM) **or** `UndefineProperties=\"TargetFramework\"` (strip the inherited global property so the project builds as it declares) — use one, not both:\n\n  ```xml\n  \u003CProjectReference Include=\"..\\Tool\\Tool.csproj\"\n                    SkipGetTargetFrameworkProperties=\"true\"\n                    UndefineProperties=\"TargetFramework\"\n                    ReferenceOutputAssembly=\"false\" \u002F>\n  ```\n\nSee the `msbuild-antipatterns` skill (AP-23) for the authoring-time smell and rationale.\n\n## Tips\n\n- The SDK default paths include `$(TargetFramework)` — clashes often occur when projects override these defaults; normalize relative paths to absolute before comparing.\n- **Cross-project `IntermediateOutputPath` clashes cannot be fixed with `AppendTargetFrameworkToOutputPath`** — files like `project.assets.json` are written directly to the intermediate path. For multi-targeting clashes *within the same project*, `AppendTargetFrameworkToOutputPath=true` is the correct fix.\n- Error messages that indicate a path clash: `Cannot create a file when that file already exists` (NuGet restore), `The process cannot access the file because it is being used by another process`, or intermittent failures that succeed on retry.\n\n### Global Properties to Check When Comparing Evaluations\n\nWhen multiple evaluations share an output path, compare these global properties to understand why:\n\n| Property | Affects OutputPath? | Notes |\n|----------|---------------------|-------|\n| `TargetFramework` | Yes | Different TFMs should have different paths. **Exception:** re-injecting a *single-targeting* project's own TFM (e.g. via `SetTargetFramework` with the same value) is path-neutral — it forks a redundant instance sharing the output path (see \"`SetTargetFramework` re-injecting...\") |\n| `RuntimeIdentifier` | Yes | Different RIDs should have different paths |\n| `Configuration` | Yes | Debug vs Release |\n| `Platform` | Yes | AnyCPU vs x64 etc. |\n| `SolutionFileName` | No | Identifies which solution built the project — different values indicate multi-solution clash |\n| `SolutionName` | No | Solution name without extension |\n| `SolutionPath` | No | Full path to the solution file |\n| `SolutionDir` | No | Directory containing the solution file |\n| `CurrentSolutionConfigurationContents` | No | XML with project entries — count of entries reveals which solution |\n| `BuildProjectReferences` | No | `false` = P2P query, not a real build - ignore these |\n| `MSBuildRestoreSessionId` | No | Present = restore phase evaluation |\n| `PublishReadyToRun` | No | Publish setting, doesn't change build output path but creates distinct project instances |\n| `_IsPublishing` | No | Publish flag; an `\u003CMSBuild>` Build\u002FPublish call with this set (in this project or another that consumes it) forks a publish instance sharing the build output path (see \"Explicit `\u003CMSBuild>` Build\u002FPublish with extra global properties\") |\n\n## Testing Fixes\n\nAfter making changes to fix path clashes, clean and rebuild to verify. See the `binlog-generation` skill's \"Cleaning the Repository\" section on how to clean the repository while preserving binlog files.\n","# Detecting OutputPath and IntermediateOutputPath Clashes\n\n## Overview\n\nThis skill helps identify when multiple MSBuild project evaluations share the same `OutputPath` or `IntermediateOutputPath`. This is a common source of build failures including:\n\n- File access conflicts during parallel builds\n- Missing or overwritten output files\n- Intermittent build failures\n- \"File in use\" errors\n- **NuGet restore errors like `Cannot create a file when that file already exists`** - this strongly indicates multiple projects share the same `IntermediateOutputPath` where `project.assets.json` is written\n\nClashes can occur between:\n- **Different projects** sharing the same output directory\n- **Multi-targeting builds** (e.g., `TargetFrameworks=net8.0;net9.0`) where the path doesn't include the target framework\n- **Multiple solution builds** where the same project is built from different solutions in a single build\n\n**Note:** Project instances with `BuildProjectReferences=false` should be **ignored** when analyzing clashes - these are P2P reference resolution builds that only query metadata (via `GetTargetPath`) and do not actually write to output directories.\n\n## When to Use This Skill\n\n**Invoke this skill immediately when you see:**\n- `Cannot create a file when that file already exists` during NuGet restore\n- `The process cannot access the file because it is being used by another process`\n- Intermittent build failures that succeed on retry\n- Missing output files or unexpected overwriting\n\n## Step 1: Generate a Binary Log\n\nUse the `binlog-generation` skill to generate a binary log with the correct naming convention.\n\n## Primary workflow — binlog MCP\n\nThe MCP server exposes structured tools for inspecting a `.binlog` without\nparsing text logs. Call them directly instead of replaying the binlog to a text\nfile. Call `tools\u002Flist` for the MCP first if you are unsure which tools are available.\n\n**Important constraints:**\n- The `.binlog` file is a **binary format** — do NOT try to `cat`, `head`, `strings`, or read it directly. Use only the MCP tools to query it.\n- **Synthesize findings as you go.** Do not spend all available time investigating — once you have enough evidence, present your conclusions.\n\n### Step 2: Get an overview and list projects\n\nUse the MCP overview and projects tools to understand the build and list all projects that participated.\n\n### Step 3: Check evaluations and global properties\n\nUse the MCP `evaluations` and `evaluation_global_properties` tools to find all evaluations per project. Look for:\n- Multiple evaluations for the same project (indicates multi-targeting or multiple build configurations)\n- Differing global properties between evaluations (`TargetFramework`, `Configuration`, `RuntimeIdentifier`, `SolutionFileName`, `PublishReadyToRun`, etc.)\n\n### Step 4: Get output paths for each evaluation\n\nUse the MCP properties tool to query `OutputPath`, `IntermediateOutputPath`, `BaseOutputPath`, and `BaseIntermediateOutputPath` for each project evaluation.\n\n### Step 5: Check for double writes\n\nUse the MCP double_writes tool if available — it directly detects files written by multiple project instances.\n\n### Step 6: Identify clashes\n\nCompare the `OutputPath` and `IntermediateOutputPath` values across all evaluations:\n1. **Normalize paths** - Convert to absolute paths and normalize separators\n2. **Group by path** - Find evaluations that share the same OutputPath or IntermediateOutputPath\n3. **Filter out non-build evaluations** - Exclude `BuildProjectReferences=false` instances (P2P queries)\n4. **Report clashes** - Any group with more than one evaluation indicates a clash\n\n## Fallback workflow — text-log replay (when MCP is unavailable)\n\nUse this only when the MCP server cannot be started.\n\nReplay the binlog to a diagnostic text log, then grep for the same signals the MCP tools surface:\n\n```bash\ndotnet msbuild build.binlog -noconlog -fl \"-flp:v=diag;logfile=full.log\"\n```\n\nThen extract the clash signals:\n\n- **Projects & evaluations** — list evaluation starts and count them per project: `grep 'Evaluation started' full.log | grep -oiE '\"[^\"]+\\.[a-z]+proj\"' | sort | uniq -c`. Matching the full **quoted path** keeps same-named projects in different directories distinct (and tolerates spaces in paths); a path with a count ≥ 2 was evaluated more than once (multi-targeting or extra global properties). (`grep -c` alone only totals evaluations across the whole log, so it can't reveal per-project duplication.)\n- **Output paths** — `grep -iE 'OutputPath[[:space:]]*=|IntermediateOutputPath[[:space:]]*=|BaseOutputPath[[:space:]]*=|BaseIntermediateOutputPath[[:space:]]*=' full.log | sort -u`, or query a project directly: `dotnet msbuild MyProject.csproj -getProperty:OutputPath` (and `IntermediateOutputPath`, `BaseIntermediateOutputPath`).\n- **Distinguishing global properties** — `grep -iE 'TargetFramework|Configuration|Platform|RuntimeIdentifier|SolutionFileName|PublishReadyToRun' full.log`. See the [Global Properties to Check](#global-properties-to-check-when-comparing-evaluations) table for which affect the path and which just fork a redundant instance.\n- **Corroborating evidence (optional)** — `grep 'Target \"CopyFilesToOutputDirectory\"' full.log` plus `grep 'SkipUnchangedFiles' full.log` show a second instance writing (or skipping a masked write) to the same path; a long vs ~0 ms `CoreCompile` distinguishes the real build from a redundant instance.\n\n**Then identify clashes:** normalize paths to absolute, group evaluations by `OutputPath` and by `IntermediateOutputPath`, and exclude `BuildProjectReferences=false` (P2P queries) — plus, for `OutputPath` only, `MSBuildRestoreSessionId` restore evaluations. Any group with more than one remaining evaluation is a clash.\n\n## Common Causes and Fixes\n\n### Multi-targeting without TargetFramework in path\n\n**Problem:** Project uses `TargetFrameworks` but OutputPath doesn't vary by framework.\n\n```xml\n\u003C!-- BAD: Same path for all frameworks -->\n\u003COutputPath>bin\\$(Configuration)\\\u003C\u002FOutputPath>\n```\n\n**Fix:** Include TargetFramework in the path:\n\n```xml\n\u003C!-- GOOD: Path varies by framework -->\n\u003COutputPath>bin\\$(Configuration)\\$(TargetFramework)\\\u003C\u002FOutputPath>\n```\n\nOr rely on SDK defaults which handle this automatically:\n\n```xml\n\u003CAppendTargetFrameworkToOutputPath>true\u003C\u002FAppendTargetFrameworkToOutputPath>\n\u003CAppendTargetFrameworkToIntermediateOutputPath>true\u003C\u002FAppendTargetFrameworkToIntermediateOutputPath>\n```\n\n### Shared output directory across projects (CANNOT be fixed with AppendTargetFramework)\n\n**Problem:** Multiple projects explicitly set the same `BaseOutputPath` or `BaseIntermediateOutputPath`.\n\n```xml\n\u003C!-- Project A - Directory.Build.props -->\n\u003CBaseOutputPath>..\\SharedOutput\\\u003C\u002FBaseOutputPath>\n\u003CBaseIntermediateOutputPath>..\\SharedObj\\\u003C\u002FBaseIntermediateOutputPath>\n\n\u003C!-- Project B - Directory.Build.props -->\n\u003CBaseOutputPath>..\\SharedOutput\\\u003C\u002FBaseOutputPath>\n\u003CBaseIntermediateOutputPath>..\\SharedObj\\\u003C\u002FBaseIntermediateOutputPath>\n```\n\n**IMPORTANT:** Even with `AppendTargetFrameworkToOutputPath=true`, this will still clash! .NET writes certain files directly to the `IntermediateOutputPath` without the TargetFramework suffix, including:\n\n- `project.assets.json` (NuGet restore output)\n- Other NuGet-related files\n\nThis causes errors like `Cannot create a file when that file already exists` during parallel restore.\n\n**Fix:** Each project MUST have a unique `BaseIntermediateOutputPath`. Do not share intermediate output directories across projects:\n\n```xml\n\u003C!-- Project A -->\n\u003CBaseIntermediateOutputPath>..\\obj\\ProjectA\\\u003C\u002FBaseIntermediateOutputPath>\n\n\u003C!-- Project B -->\n\u003CBaseIntermediateOutputPath>..\\obj\\ProjectB\\\u003C\u002FBaseIntermediateOutputPath>\n```\n\nOr simply use the SDK defaults which place `obj` inside each project's directory.\n\n### RuntimeIdentifier builds clashing\n\n**Problem:** Building for multiple RIDs without RID in path.\n\n**Fix:** Ensure RuntimeIdentifier is in the path:\n\n```xml\n\u003CAppendRuntimeIdentifierToOutputPath>true\u003C\u002FAppendRuntimeIdentifierToOutputPath>\n```\n\n### Multiple solutions building the same project\n\n**Problem:** A single build invokes multiple solutions (e.g., via MSBuild task or command line) that include the same project. Each solution build evaluates and builds the project independently, with different `Solution*` global properties that don't affect the output path.\n\n**How to detect:** Compare `SolutionFileName` and `CurrentSolutionConfigurationContents` across evaluations for the same project. Different values indicate multi-solution builds. For example:\n\n| Property | Eval from Solution A | Eval from Solution B |\n|---|---|---|\n| `SolutionFileName` | `BuildAnalyzers.sln` | `Main.slnx` |\n| `CurrentSolutionConfigurationContents` | 1 project entry | ~49 project entries |\n| `OutputPath` | `bin\\Release\\netstandard2.0\\` | `bin\\Release\\netstandard2.0\\` ← **clash** |\n\n**Example:** A repo build script builds `BuildAnalyzers.sln` then `Main.slnx`, and both solutions include `SharedAnalyzers.csproj`. Both builds write to `bin\\Release\\netstandard2.0\\`. The first build compiles; the second skips compilation but still runs `CopyFilesToOutputDirectory`.\n\n**Fix:** Options include:\n1. **Consolidate solutions** - Ensure each project is only built from one solution in a single build\n2. **Use different configurations** - Build solutions with different `Configuration` values that result in different output paths\n3. **Exclude duplicate projects** - Use solution filters or conditional project inclusion to avoid building the same project twice\n\n### Extra global properties creating redundant project instances\n\n**Problem:** A project is built multiple times within the same solution due to extra global properties (e.g., `PublishReadyToRun=false`) that create distinct MSBuild project instances. These properties don't affect output paths but prevent MSBuild from caching results across instances, causing redundant target execution.\n\n**How to detect:** Compare global properties across evaluations for the same project within the same solution (same `SolutionFileName`). Look for properties that differ but don't contribute to path differentiation:\n\n| Property | Eval A (from Razor.slnx) | Eval B (from Razor.slnx) |\n|---|---|---|\n| `PublishReadyToRun` | *(not set)* | `false` |\n| `OutputPath` | `bin\\Release\\netstandard2.0\\` | `bin\\Release\\netstandard2.0\\` ← **clash** |\n\nThis is particularly wasteful for projects where the extra property has no effect (e.g., `PublishReadyToRun` on a `netstandard2.0` class library that doesn't use ReadyToRun compilation).\n\n**Fix:** Options include:\n1. **Remove the extra global property** - Investigate which parent target\u002Ftask is injecting the property and prevent it from being passed to projects that don't need it\n2. **Use `RemoveGlobalProperties` metadata** - On `ProjectReference` items, use `RemoveGlobalProperties=\"PublishReadyToRun\"` to strip the property before building the referenced project\n3. **Condition the property** - Only set the property on projects that actually use it (e.g., only for executable projects, not class libraries)\n\n### Explicit `\u003CMSBuild>` Build\u002FPublish with extra global properties (self or cross-project)\n\n**Problem:** A target uses the `\u003CMSBuild>` task to build or publish a project with an extra global property, most commonly a \"publish-on-build\" target. The offending call can be in the target project itself **or in another project** that consumes it (e.g. a test or layout project publishing a tool):\n\n```xml\n\u003C!-- (a) same project (publish-on-build) -->\n\u003CTarget Name=\"PublishOnBuild\" AfterTargets=\"Build\">\n  \u003CMSBuild Projects=\"$(MSBuildProjectFullPath)\" Targets=\"Publish\" Properties=\"_IsPublishing=true\" \u002F>\n\u003C\u002FTarget>\n\n\u003C!-- (b) project A publishes project B that it consumes -->\n\u003CMSBuild Projects=\"..\\tool\\tool.csproj\" Targets=\"Publish\" Properties=\"_IsPublishing=true\" \u002F>\n```\n\nEither way this forks a distinct instance of the target project (`path` + `{_IsPublishing=true}`) that shares the same `OutputPath`\u002F`IntermediateOutputPath` as the instance the solution\u002Fgraph already builds. Both write the same files — for NativeAOT this includes the `*.sourcelink` intermediate, which produces `SourceLinkWriter` \u002F \"file in use\" failures under parallel builds.\n\n**How to detect:** Follow the Primary workflow above — the `evaluations` and `evaluation_global_properties` tools surface two evaluations of the target project that share the same `OutputPath`\u002F`IntermediateOutputPath` but differ only by a path-neutral publish flag such as `_IsPublishing`, and the `double_writes` tool flags the resulting shared-file writes directly. To tell case (a) from (b), see which project the extra `{_IsPublishing=true}` evaluation runs *under* in the build tree (from the overview\u002Fprojects tools): the target project itself for (a), or a consumer project that invoked the `\u003CMSBuild>` task for (b).\n\n**Fix:** Depends on where the call lives:\n\n- **Same project (a):** you can't strip the property with `RemoveGlobalProperties` (the project injects it on itself). Set the flag as a **static** (non-global) property and run the target in the **same** instance via `DependsOnTargets`\u002F`CallTarget`, with a guard against a target cycle when publish is the entry point:\n\n```xml\n\u003CPropertyGroup>\n  \u003C_PublishWasInvokedDirectly Condition=\"'$(_IsPublishing)' == 'true'\">true\u003C\u002F_PublishWasInvokedDirectly>\n  \u003C_IsPublishing>true\u003C\u002F_IsPublishing>\n\u003C\u002FPropertyGroup>\n\u003CTarget Name=\"PublishOnBuild\"\n        AfterTargets=\"Build\"\n        DependsOnTargets=\"Publish\"\n        Condition=\"'$(_PublishWasInvokedDirectly)' != 'true'\" \u002F>\n```\n\n- **Cross-project (b):** the consumer must not fork the producer with path-neutral global properties. Make the producer publish as part of its own build (the (a) fix in *its* project), then have the consumer **sequence** it and read its output instead of re-publishing it:\n\n```xml\n\u003CItemGroup>\n  \u003CProjectReference Include=\"..\\tool\\tool.csproj\" ReferenceOutputAssembly=\"false\" \u002F>\n\u003C\u002FItemGroup>\n\u003C!-- consumer reads tool's publish dir; it does NOT invoke Publish on tool -->\n```\n\nSee the `msbuild-antipatterns` skill (AP-22) for the authoring-time smell and rationale.\n\n### `SetTargetFramework` re-injecting a single-targeting project's own TFM on a `ProjectReference`\n\n**Problem:** A `ProjectReference` sets `SetTargetFramework=\"TargetFramework=\u003Ctfm>\"` metadata pointing at a **single-targeting** project (one that uses singular `\u003CTargetFramework>`, not `\u003CTargetFrameworks>`), where the injected `\u003Ctfm>` **equals the TFM the project already targets**. `SetTargetFramework` injects `TargetFramework` as a **global property** on the referenced project's build.\n\n```xml\n\u003C!-- BAD: Tool.csproj single-targets net8.0 and we inject that SAME net8.0 -->\n\u003CProjectReference Include=\"..\\Tool\\Tool.csproj\" SetTargetFramework=\"TargetFramework=net8.0\" \u002F>\n```\n\nInjecting the TFM the project already targets is **path-neutral** — the project already resolves to `bin\\\u003Cconfig>\\net8.0\\` and `obj\\\u003Cconfig>\\net8.0\\` on its own. So it doesn't change the output path; it only forks a distinct instance `(project, {TargetFramework=net8.0})`. The solution\u002Fgraph builds the very same project as `(project, {})`. Both share the same `OutputPath`\u002F`IntermediateOutputPath`, so the project is **built twice** to the same location — a bin\u002Fobj clash under parallel builds.\n\n**How to detect:** Follow the Primary workflow above. The `evaluations` and `evaluation_global_properties` tools surface two evaluations of the referenced project that share the same `OutputPath`\u002F`IntermediateOutputPath` and differ only by a `TargetFramework` global property, while the project itself is single-targeting (its own `TargetFramework` already equals the injected value). The `double_writes` tool flags the resulting shared-file writes directly.\n\n**Note:** The P2P protocol itself does **not** inject `TargetFramework` for a non-multi-targeting reference — the clash comes specifically from the explicit `SetTargetFramework` metadata overriding that safe default.\n\n**Fix:** Remove the redundant `SetTargetFramework` when it just restates the project's own single TFM:\n\n```xml\n\u003C!-- GOOD -->\n\u003CProjectReference Include=\"..\\Tool\\Tool.csproj\" \u002F>\n```\n\n**When `SetTargetFramework` is legitimate (not a clash):**\n\n- **Multi-targeting reference** — the referenced project uses `\u003CTargetFrameworks>` and you need one specific TFM. Each TFM has a distinct output path, so no clash.\n- **Overriding to a *different* TFM** — you may use `SetTargetFramework` on a single-targeting project to build it under a TFM *other than* the one it declares. Because the injected TFM then changes the output path (`obj\\\u003Cconfig>\\\u003Cdifferent-tfm>\\`), the instance no longer collides with `(project, {})`. Only the *same-TFM* case is path-neutral and clashing.\n- **Framework-incompatible reference** — whenever the referencing and referenced projects target **incompatible frameworks** (e.g. a `.NETFramework` project referencing a `.NETCoreApp` project, or vice-versa) — **regardless of single- or multi-targeting on either side** — set `SkipGetTargetFrameworkProperties=\"true\"` (the P2P `GetTargetFrameworkProperties` negotiation would otherwise fail) and `ReferenceOutputAssembly=\"false\"` (an assembly built for an incompatible framework can't be consumed as a reference — you only want to trigger\u002Fsequence the build):\n\n  ```xml\n  \u003CProjectReference Include=\"..\\Tool\\Tool.csproj\"\n                    SkipGetTargetFrameworkProperties=\"true\"\n                    ReferenceOutputAssembly=\"false\" \u002F>\n  ```\n\n  With `SkipGetTargetFrameworkProperties=\"true\"`, the negotiation no longer stops the **referencing** project's own `TargetFramework` global property (present when it builds for a specific TFM, e.g. it is multi-targeting) from flowing into the referenced project. For a **single-targeting** referenced project that would force it to build under the wrong TFM \u002F output path. Prevent it by either setting `SetTargetFramework=\"TargetFramework=\u003Ctfm>\"` (pin the TFM) **or** `UndefineProperties=\"TargetFramework\"` (strip the inherited global property so the project builds as it declares) — use one, not both:\n\n  ```xml\n  \u003CProjectReference Include=\"..\\Tool\\Tool.csproj\"\n                    SkipGetTargetFrameworkProperties=\"true\"\n                    UndefineProperties=\"TargetFramework\"\n                    ReferenceOutputAssembly=\"false\" \u002F>\n  ```\n\nSee the `msbuild-antipatterns` skill (AP-23) for the authoring-time smell and rationale.\n\n## Tips\n\n- The SDK default paths include `$(TargetFramework)` — clashes often occur when projects override these defaults; normalize relative paths to absolute before comparing.\n- **Cross-project `IntermediateOutputPath` clashes cannot be fixed with `AppendTargetFrameworkToOutputPath`** — files like `project.assets.json` are written directly to the intermediate path. For multi-targeting clashes *within the same project*, `AppendTargetFrameworkToOutputPath=true` is the correct fix.\n- Error messages that indicate a path clash: `Cannot create a file when that file already exists` (NuGet restore), `The process cannot access the file because it is being used by another process`, or intermittent failures that succeed on retry.\n\n### Global Properties to Check When Comparing Evaluations\n\nWhen multiple evaluations share an output path, compare these global properties to understand why:\n\n| Property | Affects OutputPath? | Notes |\n|----------|---------------------|-------|\n| `TargetFramework` | Yes | Different TFMs should have different paths. **Exception:** re-injecting a *single-targeting* project's own TFM (e.g. via `SetTargetFramework` with the same value) is path-neutral — it forks a redundant instance sharing the output path (see \"`SetTargetFramework` re-injecting...\") |\n| `RuntimeIdentifier` | Yes | Different RIDs should have different paths |\n| `Configuration` | Yes | Debug vs Release |\n| `Platform` | Yes | AnyCPU vs x64 etc. |\n| `SolutionFileName` | No | Identifies which solution built the project — different values indicate multi-solution clash |\n| `SolutionName` | No | Solution name without extension |\n| `SolutionPath` | No | Full path to the solution file |\n| `SolutionDir` | No | Directory containing the solution file |\n| `CurrentSolutionConfigurationContents` | No | XML with project entries — count of entries reveals which solution |\n| `BuildProjectReferences` | No | `false` = P2P query, not a real build - ignore these |\n| `MSBuildRestoreSessionId` | No | Present = restore phase evaluation |\n| `PublishReadyToRun` | No | Publish setting, doesn't change build output path but creates distinct project instances |\n| `_IsPublishing` | No | Publish flag; an `\u003CMSBuild>` Build\u002FPublish call with this set (in this project or another that consumes it) forks a publish instance sharing the build output path (see \"Explicit `\u003CMSBuild>` Build\u002FPublish with extra global properties\") |\n\n## Testing Fixes\n\nAfter making changes to fix path clashes, clean and rebuild to verify. See the `binlog-generation` skill's \"Cleaning the Repository\" section on how to clean the repository while preserving binlog files.\n",{"name":5,"license":15,"description":7},"main","367e97f05fa5a6d7068734d340cfa415690d8a33","external-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet-msbuild\u002Fskills\u002Fcheck-bin-obj-clash",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":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add managedcode\u002Fdotnet-skills --skill check-bin-obj-clash",{"tool":66,"command":67},"bunx","bunx skills add managedcode\u002Fdotnet-skills --skill check-bin-obj-clash",{"tool":69,"command":70},"pnpm","pnpm dlx skills add managedcode\u002Fdotnet-skills --skill check-bin-obj-clash","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet-msbuild\u002Fskills\u002Fcheck-bin-obj-clash\u002FSKILL.md",true,[],[75,110,133,162,172,199],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":89,"publishedAt":45},"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",[81,84],{"categoryNo":82,"categoryName":83,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109],"xtwitter scraper","browser automation","workflows","run","code","browser","search","repository","api","Media","api client","access","edit","unrelated","webhooks","files","social","commands","modeling","webhook",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":122,"publishedAt":45},"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",[116,119],{"categoryNo":117,"categoryName":118,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":120,"categoryName":121,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000036","内容创作者",[112,123,124,92,125,93,97,126,127,128,102,129,103,105,40,130,131,43,107,132],"writing","performance","tasks","data","parsing","parser","context","writer","options","high-performance",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":45},"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",[],[140,141,142,143,144,145,146,147,148,149,150,151,38,152,153,154,155,156,157,158,29,159,160,161,34],"webgpu","threejs","webgpu threejs tsl","setup","shaders","gpu","integration","applications","js","node","syntax","guide","language","three","compute","post","processing","with","renderer","materials","wgsl","effects",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":45},"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",[],[164,38,105,169,170,29,171],"semantic","razor","inspection",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":45},"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",[],[179,180,181,182,123,183,184,185,186,187,188,38,189,190,191,192,40,193,194,195,196,29,197,198,34],"system","json","text","system text json net11","policy","metadata","library","serialization","behavior","user","only","probe","guidance","later","type","dictionary","naming","targeting","custom","generic",{"skillNo":200,"name":201,"nameZh":6,"description":202,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":203,"categories":204,"keywords":207,"publishedAt":45},"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",[205,206],{"categoryNo":82,"categoryName":83,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},[98,208,209,210,93,211,147,179,38,191,192,40,212,213,214,215,196,29,216],"process","process api net11","diagnostics","start","basic","processes","output","usage","new"]