Parent double-dot path step in application manifest asmv1:assembly/file/@name throwing error
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 停滯
- 領域
- build-system
研究方向
從 issue 中連結的 LibGit2Sharp.NativeBinaries.props 項目開始,特別查看第 11 行及其 TargetPath 值。從 NuGet 重新建置,並確認產生的應用程式資訊清單不再包含父路徑步驟,且能被 SxsTrace 接受。
由索引模型根據 Issue 內容生成。
描述
In building from NuGet, the application manifest includes a number of asmv1:assembly/file/@name values that have a double dot, e.g.,
<file name="lib\fedora-x64\native\..\libgit2-106a5f2.so" size="1198160">
This throws an error, e.g. (via SxsTrace):
ERROR: Line 449: The value lib\alpine.3.9-x64\native\..\libgit2-106a5f2.so of attribute name in element urn:schemas-microsoft-com:asm.v1^file is invalid.
It seems that the root of this issue is https://github.com/libgit2/libgit2sharp.nativebinaries/blob/9469eab266bacdbb46aed4610b3b0e6bbfc56395/nuget.package/build/net46/LibGit2Sharp.NativeBinaries.props#L11
There the double-dot parent path is hard coded to be imprinted and negate native.
I propose the removal of ..\ in attribute TargetPath or something similar. Keeping the native subdirectory shouldn't harm anything. At any rate, ISTM the syntactical constraints of asmv1:assembly/file/@name should be respected.
- 主要語言
- PowerShell
- 星號
- 35
- 分支
- 74
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
libgit2/libgit2sharp.nativebinaries 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 35/100
-
難度 5/5 一週以上 新手友好度 25/100
-
難度 4/5 3-5 天 新手友好度 35/100
libgit2/libgit2sharp.nativebinaries#158 · 2 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 25/100
libgit2/libgit2sharp.nativebinaries#156 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
libgit2/libgit2sharp.nativebinaries#151 · 5 則留言 ·
查看 libgit2/libgit2sharp.nativebinaries 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
bazel-contrib/rules_go#4721 · 2 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 78/100
-
agent-research-recommend agent-review-finding chore
難度 2/5 1-3 小時 新手友好度 75/100
jordansmall/spindrift#3717 · 1 則留言 ·
-
type/automation type/tech-debt
難度 2/5 1-3 小時 新手友好度 78/100