I'm currently trying to setup a local/private WinGet Repository. I used this and this tutorial and this source code from Microsoft. So far I accomplished to connect to the Repository but I can't upload any Packages to it.
I added the Repository with the following WinGet command and this is how it looks when I list all my Repo's:
winget add source --name "test" --type "Microsoft.Rest" --arg "https://localhost:7071/api"
As soon as I add the Repository, my API outputs the following:
API Output after adding the Repository
But when I try to add a Package to the Repository or even anything else, like searching for a Package, I get the following error from the API. For example I tried to search for the Package "test".
winget search "test" --source test
I don't really know what Question I should ask because I am generally confused right now. Has anyone an Idea why the Error says "Invalid URI"? I mean the Request was initated from WinGet itself.