-
Notifications
You must be signed in to change notification settings - Fork 10
/
nuget.config
42 lines (35 loc) · 1.52 KB
/
nuget.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<!--
Use a custom feed hosted by Azure DevOps Artifacts:
https://dev.azure.com/satrapu/aspnet-core-logging/_packaging?_a=feed&feed=nuget-feed-v2.
See more about setting up such feed here:
https://learn.microsoft.com/en-us/azure/devops/artifacts/get-started-nuget?view=azure-devops&tabs=windows.
See more about publishing a NuGet package to such feed here:
https://github.com/NuGet/Home/issues/7792#issuecomment-631683878.
Once all NuGet packages used by this application have been published, you can comment the official NuGet
feed below and let only this one active - this will ensure that package restoration will use
Azure Artifacts only.
-->
<add key="nuget-feed-v2"
value="https://pkgs.dev.azure.com/satrapu/aspnet-core-logging/_packaging/nuget-feed-v2/nuget/v3/index.json"
protocolVersion="3" />
<!--
The official NuGet feed.
-->
<add key="nuget.org"
value="https://api.nuget.org/v3/index.json"
protocolVersion="3" />
</packageSources>
<disabledPackageSources>
<add key="nuget-feed-v2"
value="true" />
</disabledPackageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>