// upp.exe 配置文件 // 放置于 upp.exe 同目录下 { // 解决方案路径列表(支持相对路径和绝对路径) // 不指定时自动在程序所在目录查找所有 .sln 文件 // "SolutionPaths": [ // "./MySolution.sln", // "../OtherProject/Other.sln" // ], // 排除的包列表(支持通配符 *) "ExcludePackages": [ "Microsoft.CodeAnalysis.CSharp", "Microsoft.CodeAnalysis.Analyzers" ], // 排除的版本模式(正则表达式) "ExcludeVersionPatterns": [ "-preview", "-alpha", "-beta", "-rc" ], // NuGet 源列表 "NuGetSources": [ "https://api.nuget.org/v3/index.json" ], // 只显示计划,不执行 "DryRun": false, // 跳过 restore 验证 "NoRestore": false, // 详细输出 "Verbose": false, // 交互模式(逐个确认) "Interactive": false, // 并行度 "Parallelism": 5, // API 超时时间(秒) "Timeout": 30, // 日志文件路径(可选) // "LogFile": "upp.log", // 是否生成升级报告 "GenerateReport": false // 升级报告输出路径(默认: upgrade-report.md) // 支持 .md(Markdown)和 .json(JSON)格式 // "ReportPath": "upgrade-report.md" }