microsoft / microsoft/winget-cli

Winget error 0x80070002

Open
#3,930 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Docs
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

Why i get error when want next

"winget source add -n Local -a \\localhost\temp\source

name of source is (-n Local)
-a (arg of source is '\\localhost\temp\source')
I don't what is mean -t (type of source)
and what is mean (-t < type > < options >)

I get this error 0x80070002

Let me know pls how to add repository for winget from local disk. Sorry for my bad English.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the winget source add command with the shown local path and inspect what error 0x80070002 means in this context. The issue does not name a source file or test; done would be a verified explanation of the error and the supported command or requirements for adding a local repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.