libgit2 / libgit2/libgit2sharp
Can't parse project with reference to libgit2sharp
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Reproduction steps
- Reference libgit2sharp in the project
- Call
new Microsoft.Build.Evaluation.Project.Project("path/to/.csproj")
Expected behavior
Project parsed successfully
Actual behavior
Microsoft.Build.Exceptions.InvalidProjectFileException: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. c:\root\packages\LibGit2Sharp.NativeBinaries.1.0.217\build\net461\LibGit2Sharp.NativeBinaries.props
Version of LibGit2Sharp (release number or SHA1)
0.25.2
Operating system(s) tested; .NET runtime tested
Windows Server 2016
.NET 4.6.1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在 Windows Server 2016 上使用 .NET 4.6.1 重現 Microsoft.Build.Evaluation.Project.Project 呼叫,然後檢查 LibGit2Sharp.NativeBinaries.1.0.217/build/net461/LibGit2Sharp.NativeBinaries.props。當參考 LibGit2Sharp 時專案能夠成功解析,且不會出現 InvalidProjectFileException,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100