libgit2 / libgit2/libgit2sharp
Corrupted Manifest File
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem with the empty Word VSTO project on Windows 10, Visual Studio 2019, .NET 4.7.2, and LibGit2Sharp 0.26.2. Inspect .dll.manifest, especially the file entries under lib, and verify that the resulting manifest contains no relative URLs and that the Word add-in still works when started with F5.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100