Azure DevOps – How to set project overview default repository with .NET Libraries?

  Kiến thức lập trình

I am using Azure DevOps .NET client libraries to setup a new project in DevOps. How can you add a readme file to the project overview using the .NET client libraries?

I included the two other ways I have figured out how to achieve the same result below.

Using the Web App

  1. Click “Edit project information” button.
    Click "Edit project information" button.

  2. Select the readme file you want to use.
    The "About" section to set.

  3. Click Save button.

Using HTTP API call

Method PATCH

URL https://devops.{{Server}}.com/{{Organization}}/_apis/Settings/project/{{ProjectGUID}}/Entries/host

Payload {"VersionControl/ProjectOverview/DefaultRepository":"{{RepoGUID}}"}

LEAVE A COMMENT