upp.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // upp.exe 配置文件
  2. // 放置于 upp.exe 同目录下
  3. {
  4. // 解决方案路径列表(支持相对路径和绝对路径)
  5. // 不指定时自动在程序所在目录查找所有 .sln 文件
  6. // "SolutionPaths": [
  7. // "./MySolution.sln",
  8. // "../OtherProject/Other.sln"
  9. // ],
  10. // 排除的包列表(支持通配符 *)
  11. "ExcludePackages": [
  12. "Microsoft.CodeAnalysis.CSharp",
  13. "Microsoft.CodeAnalysis.Analyzers"
  14. ],
  15. // 排除的版本模式(正则表达式)
  16. "ExcludeVersionPatterns": [
  17. "-preview",
  18. "-alpha",
  19. "-beta",
  20. "-rc"
  21. ],
  22. // NuGet 源列表
  23. "NuGetSources": [
  24. "https://api.nuget.org/v3/index.json"
  25. ],
  26. // 只显示计划,不执行
  27. "DryRun": false,
  28. // 跳过 restore 验证
  29. "NoRestore": false,
  30. // 详细输出
  31. "Verbose": false,
  32. // 交互模式(逐个确认)
  33. "Interactive": false,
  34. // 并行度
  35. "Parallelism": 5,
  36. // API 超时时间(秒)
  37. "Timeout": 30,
  38. // 日志文件路径(可选)
  39. // "LogFile": "upp.log",
  40. // 是否生成升级报告
  41. "GenerateReport": false
  42. // 升级报告输出路径(默认: upgrade-report.md)
  43. // 支持 .md(Markdown)和 .json(JSON)格式
  44. // "ReportPath": "upgrade-report.md"
  45. }