libgit2 / libgit2/libgit2sharp

Incompatibility with newer dotnet SDKs

未關閉
#1,804 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 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

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 repository 的 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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。