fix: 修复跨框架设计时依赖加载并补全诊断计数 - #48
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows 入口的全局 TargetFramework 曾覆盖普通单目标引用项目,使已还原的库依赖在 Roslyn 设计时快照中丢失。现在引用项目保留自身框架,入口及多目标项目沿用显式选择,并保留原早期导入和 Host 独立输出/回收规则。
同时补充诊断摘要,避免把前五条样例误当作全部错误:在 Host 样例截断前计数,返回编译错误/加载诊断总数、最多各十组的错误码与项目统计、展示和省略数量;旧 Host 无统计时明确未知。Skill 参考手册据此指导框架/依赖与生成器覆盖的区分,不自动安装包、restore 或启用生成器。
验证:
边界:仍排除 24 个分析器/生成器引用,queryComplete=false 与 incomplete 保持;未实现多目标引用的自动最近兼容框架选择,未修改 Tavern 源码或资料库。作者自查不等于独立审查;合并以当前提交的全部必需 CI 为准。可复用复现已提交,包含本机路径的原始验收附件保留在忽略的 test-tmp,执行记录见 docs/codex_worklog.md。