id: "clr-activation-debugging"
kind: "skill"
name: "clr-activation-debugging"
title: "Clr Activation Debugging"
description: "Diagnoses .NET Framework CLR activation issues using CLR activation logs (CLRLoad logs) produced by mscoree.dll. Use when: the shim picks the wrong runtime, fails to load any runtime, shows unexpected .NET 3.5 Feature-on-Demand (FOD) dialogs, unexpectedly does NOT show FOD dialogs, loads both v2 and v4 into the same process causing failures, or any time someone is wondering \"what is happening with .NET Framework activation?\""
category: "developer-tools"
source:
  repository: "dotnet/skills"
  path: "plugins/dotnet-diag/skills/clr-activation-debugging/SKILL.md"
  commit: "4e03bfdade5d1f9b7d1c2e95f64e31d1cb7af5ab"
  url: "https://github.com/dotnet/skills/tree/4e03bfdade5d1f9b7d1c2e95f64e31d1cb7af5ab/plugins/dotnet-diag/skills/clr-activation-debugging"
license:
  spdx: "MIT"
  from: "SKILL.md frontmatter"
  redistributable: true
stars: 6298
updated_at: "2026-11-19T21:19:36Z"
score: 0.9258
rank: 6
files_count: 4
bytes: 54415
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:48:20Z"
  model: "claude-sonnet-5-5"
  score: 0.9258
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.94
    smoke: 1.0
    popularity: 0.5279
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 5
    safety: 5
    injection: 5
    references: 5
    overall: 9
    verdict: "feature"
    rationale: "The description lists specific symptoms and when to use the skill. The skill covers one job: diagnosing .NET Framework shim activation from CLRLoad logs. The workflow is concrete. It covers log line meanings, capping, config handling, the SEM_FAILCRITICALERRORS effect on FOD, and the HRESULT table. It includes read-only registry checks and a reminder to remove the logging setting afterwards. The three reference files are listed and bundled. There is no injection. The truncated tail is the only gap."
  smoke:
    status: "passed"
    triggered: true
    grade: 2
    task: "An old native build tool fails with 0x80131700 on a machine that has only .NET 4.8 installed. The CLRLoad log shows IsCapped: 1 and no config file. Why does it fail, and how can I fix it?"
    date: "2026-11-21T11:40:01Z"
    model: "claude-sonnet-5-5"
requires:
  tools: []
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "chat-mcp"
    status: "full"
    reasons: ["ok"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 20858
    sha256: "de030774c23c61b3297e82af68e1b15e37e2ad8df4028a54975b2a5af3183762"
    url: "https://raw.githubusercontent.com/dotnet/skills/4e03bfdade5d1f9b7d1c2e95f64e31d1cb7af5ab/plugins/dotnet-diag/skills/clr-activation-debugging/SKILL.md"
  - path: "references/activation-flow.md"
    bytes: 14038
    sha256: "04d748a40788aa47dd7bb325f682615486da71812b3a80b9a6403ce97eca4d9f"
    url: "https://raw.githubusercontent.com/dotnet/skills/4e03bfdade5d1f9b7d1c2e95f64e31d1cb7af5ab/plugins/dotnet-diag/skills/clr-activation-debugging/references/activation-flow.md"
  - path: "references/com-activation.md"
    bytes: 8084
    sha256: "3da57d54a8f6dd85bfb9e2a3b617fa5521e6551b7187bfc3bac73f71c1b6c9bc"
    url: "https://raw.githubusercontent.com/dotnet/skills/4e03bfdade5d1f9b7d1c2e95f64e31d1cb7af5ab/plugins/dotnet-diag/skills/clr-activation-debugging/references/com-activation.md"
  - path: "references/log-format.md"
    bytes: 11435
    sha256: "f594da621cd46f457a93aebc5273ed2e102730a03086eb9cb0cb96e07e2e8472"
    url: "https://raw.githubusercontent.com/dotnet/skills/4e03bfdade5d1f9b7d1c2e95f64e31d1cb7af5ab/plugins/dotnet-diag/skills/clr-activation-debugging/references/log-format.md"
alternates: []
icon: "https://versatile.sh/avatars/dotnet.png"
