libgit2 / libgit2/libgit2sharp
Corrupted Manifest File
未關閉
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
在 Windows 10、Visual Studio 2019、.NET 4.7.2 和 LibGit2Sharp 0.26.2 上,使用空的 Word VSTO 專案重現此問題。檢查 .dll.manifest,尤其是 lib 下的檔案項目,並確認產生的資訊清單不包含相對 URL,且 Word 增益集在使用 F5 啟動時仍可正常運作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100