将条件从 || 改为 &&,确保必须同时找到项目文件和 sln 文件才认定为正确的仓库根目录,防止在错误的仓库中运行脚本。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>