Corrupted Manifest File

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

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

Đánh giá

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

Hướng nghiên cứu

Tái hiện sự cố với dự án Word VSTO trống trên Windows 10, Visual Studio 2019, .NET 4.7.2 và LibGit2Sharp 0.26.2. Kiểm tra .dll.manifest, đặc biệt là các mục tệp bên dưới lib, và xác minh rằng manifest kết quả không chứa URL tương đối và phần bổ trợ Word vẫn hoạt động khi được khởi động bằng F5.

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

Mô tả

Reproduction steps

Empty VSTO Project for Word on Windows 10 with Visual Studio 2019.
Use NuGet to install libgit2sharp. Start Word via F5

Expected behavior

Add-in should still work.

Actual behavior

Add-in does not work. Word gives an error message saying that the manifest file .dll.manifest is corrupted and it should not contain relative urls.

Version of LibGit2Sharp (release number or SHA1)

0.26.2

Operating system(s) tested; .NET runtime tested

Windows 10, .net 4.7.2

The error refers to the relative url in this element of the xml:

<file name="lib\alpine.3.9-x64\native\..\libgit2-106a5f2.so" size="1332656">
    <hash>
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
      <dsig:DigestValue>yeDhp6z/MialxFn54HFrzm85y8UyuCNuWfTKHGpwReg=</dsig:DigestValue>
    </hash>
  </file>

There is one of these element blocks for every folder in the lib folder.

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

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.

Issue khác của libgit2/libgit2sharp

Tất cả issue của libgit2/libgit2sharp

Issue tương tự

Thêm issue về C#

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.