azure-devopsmyget

MyGet throwing repository URL is of an invalid format


I added a new build source on myget.org using VSTS, but MyGet is throwing this error:

enter image description here

The thing is, the URL shouldn't be incorrect... it was setup by MyGet itself, since I used the wizard.

What could be going on here?


Solution

  • You need to specify the authentication information.

    1. Log on to your VSTS
    2. Click your account > Security

    enter image description here

    1. Select Alternate authentication credentials (Personal access token is ok too)
    2. Check enable alternate authentication credentials and create an alternate authentication credentials
    3. Log on to your MyGet > Select Build Services > Click Edit to edit your build service

    enter image description here

    1. Type user name and password (if you are using Personal Access Token, the user name can be any, such as test, user etc…)

    enter image description here

    1. Start build