libgit2 / libgit2/libgit2sharp
Incompatibility with newer dotnet SDKs
未关闭
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 3.5k
- 派生
- 925
- PR 合并指标
- 30 天内没有已合并 PR
描述
Why there's a lock into a specific dotnet cli version in the global.json ?
I think global.json could be improved adding roll forward (ref https://docs.microsoft.com/en-us/dotnet/core/tools/global-json?tabs=netcore3x#rollforward )
Reproduction steps
- Have lastest dotnet SDK - 3.1.301
- Try to build with dotnet core
- dotnet build
Expected behavior
- libgit2sharp builds
Actual behavior
- Get error message
- A compatible installed .NET Core SDK for global.json version [3.1.201] from [github/libgit2sharp/global.json] was not found
Version of LibGit2Sharp (release number or SHA1)
- 7fc4be5193dbdd08538b4b150332b5a73770e0f6
Operating system(s) tested; .NET runtime tested
- Ubuntu 18.04
- dotnet sdk 3.1.301
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从仓库的 global.json 开始,该文件固定使用 .NET Core SDK 3.1.201,并将其设置与文档中说明的 roll-forward 行为进行比较。使用 dotnet SDK 3.1.301 重现失败并运行 dotnet build;完成标准是项目能够使用这个更新的 SDK 构建,而不会出现版本不兼容错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100