Skip to content

Commit 1000b4e

Browse files
authored
note that SourceLinkAzureDevOpsServerGitHost element is mandatory for Microsoft.SourceLink.AzureDevOpsServer.Git (#889)
1 parent 98744c8 commit 1000b4e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,24 @@ For projects hosted by on-prem [Azure DevOps Server](https://azure.microsoft.com
7373
</ItemGroup>
7474
```
7575

76-
If your server is configurated with non-empty IIS [Virtual Directory](docs/TfsVirtualDirectory/README.md), specify this directory in `SourceLinkAzureDevOpsServerGitHost` item like so:
76+
You also need to provide the hostname of your DevOps server:
77+
78+
```xml
79+
<ItemGroup>
80+
<SourceLinkAzureDevOpsServerGitHost Include="server-name"/>
81+
</ItemGroup>
82+
```
83+
84+
The `Include` attribute specifies the domain and optionally the port of the server (e.g. `server-name` or `server-name:8080`).
85+
86+
If your server is configured with a non-empty IIS [virtual directory](docs/TfsVirtualDirectory/README.md), specify this directory like so:
7787

7888
```xml
7989
<ItemGroup>
8090
<SourceLinkAzureDevOpsServerGitHost Include="server-name" VirtualDirectory="tfs"/>
8191
</ItemGroup>
8292
```
8393

84-
The `Include` attribute specifies the domain and optionally the port of the server (e.g. `server-name` or `server-name:8080`).
85-
8694
### GitLab
8795

8896
For projects hosted by [GitLab](https://gitlab.com) reference [Microsoft.SourceLink.GitLab](https://www.nuget.org/packages/Microsoft.SourceLink.GitLab) package:

0 commit comments

Comments
 (0)