Closed hacksysteam closed 1 month ago
this works but i'm not sure if this will cause any issues
def printDepends(packages, target, deptype, chip, indent, args):
chipstr = ""
if chip != None:
@@ -286,6 +558,8 @@ def printDepends(packages, target, deptype, chip, indent, args):
deps = p["dependencies"]
for key in deps:
dep = deps[key]
+ if key == p["id"]:
+ continue
type = ""
if "type" in dep:
type = dep["type"]
@@ -294,6 +568,7 @@ def printDepends(packages, target, deptype, chip, indent, args):
chip = dep["chip"]
printDepends(packages, key, type, chip, indent + " ", args)
Related to #135 .
From the manifest, the dependency chain is
Microsoft.VisualStudio.Debugger.Remote.DiagnosticsHub.Client (machineArch: arm64)
Microsoft.VisualStudio.Debugger.Remote.DiagnosticsHub.Client (machineArch: x64)
Microsoft.VisualStudio.Debugger.Remote.DiagnosticsHub.Client (machineArch: x86)
(no dependencies)
But machineArch
is not handled currently, so the dependency chain is parsed as
Microsoft.VisualStudio.Debugger.Remote.DiagnosticsHub.Client (machineArch: arm64)
Microsoft.VisualStudio.Debugger.Remote.DiagnosticsHub.Client (machineArch: arm64)
...
@huangqinjin have you encountered this issue: https://github.com/mstorsjo/msvc-wine/issues/139
@huangqinjin the issue got fixed after applying your pull request: https://github.com/mstorsjo/msvc-wine/pull/140
Hi @mstorsjo
Running this command gives error:
python vsdownload.py --accept-license --print-deps-tree Microsoft.VisualStudio.Workload.VCTools