libgit2 / libgit2/libgit2sharp

Can't parse project with reference to libgit2sharp

Đang mở
#1,613 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
C#
Star
3.5k
Fork
925
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Reproduction steps
  1. Reference libgit2sharp in the project
  2. 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lệnh gọi Microsoft.Build.Evaluation.Project.Project trên Windows Server 2016 với .NET 4.6.1, sau đó kiểm tra LibGit2Sharp.NativeBinaries.1.0.217/build/net461/LibGit2Sharp.NativeBinaries.props. Hoàn thành khi dự án được phân tích thành công lúc tham chiếu đến LibGit2Sharp mà không có InvalidProjectFileException.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.