clr-activation-debugging
仓库创建 2026年2月4日最近提交 18 小时前SkillHot 收录 20 天前
▸ 精选理由
适合解决运行时加载错误与版本兼容问题,定位 shim 决策。
这个 Skill 做什么
分析 CLR 激活日志,诊断运行时选择与加载失败的原因。
通过分析 CLR activation(CLRLoad)日志,诊断为什么进程选错或加载不了 .NET 运行时。遇到 shim 选择错误的 CLR、加载失败、意外的 .NET 3.5 FOD 弹窗或同时加载 v2 和 v4 导致问题时用。它能还原 shim 做出每个决策的细节,告诉你到底是哪一步出错。
▸ 展开 SKILL.md 英文原文
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?"
4.8k
Stars
351
Forks
40
仓库内 Skill
+610
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/dotnet/skills/main/plugins/dotnet-diag/skills/clr-activation-debugging/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/dotnet/skills/main/plugins/dotnet-diag/skills/clr-activation-debugging/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# CLR Activation Debugging
Diagnose .NET Framework runtime activation issues by analyzing CLR activation logs (CLRLoad logs) produced by the shim (mscoree.dll). These logs record every decision the shim makes when selecting and loading a CLR version.
## When to Use
- A process fails to load the CLR at all ("Unable to find a version of the runtime to use")
- The shim picks the wrong CLR version (e.g., v2.0 instead of v4.0)
- Unexpected .NET 3.5 Feature-on-Demand (FOD) install dialogs appear
- FOD dialogs are expected but do NOT appear
- Both CLR v2 and CLR v4 load into the same process, causing failures
- A COM object fails to activate because the shim can't resolve the runtime
- Legacy hovia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有