Repository navigation
Expand file tree
/
Copy pathNuGet.analysis.config
More file actions
50 lines (47 loc) · 2.64 KB
/
Copy pathNuGet.analysis.config
File metadata and controls
50 lines (47 loc) · 2.64 KB
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
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Analysis builds select this file explicitly. Keep governed and local in sync with NuGet.config. -->
<packageSources>
<clear />
<!-- Local contains packages produced by this repository for cross-package development and CI. -->
<add key="local" value="packages/" />
<!-- Governed contains vetted external dependencies and published SqlClient packages. -->
<add key="governed" value="https://sqlclientdrivers.pkgs.visualstudio.com/public/_packaging/sqlclient/nuget/v3/index.json" />
<!-- Internal analyzers contains private Microsoft analyzer packages used only by analysis builds. -->
<add key="internal-analyzers" value="%INTERNAL_ANALYZERS_FEED%" />
</packageSources>
<packageSourceMapping>
<!-- Only packages produced by this repository may be restored from the local feed. -->
<packageSource key="local">
<package pattern="Microsoft.Data.SqlClient" />
<package pattern="Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider" />
<package pattern="Microsoft.Data.SqlClient.Extensions.Abstractions" />
<package pattern="Microsoft.Data.SqlClient.Extensions.Azure" />
<package pattern="Microsoft.Data.SqlClient.Internal.Logging" />
<package pattern="Microsoft.SqlServer.Server" />
</packageSource>
<!--
NuGet uses the most specific matching pattern to determine eligible sources. Because local
uses exact package IDs, governed must repeat them; otherwise those packages could only restore
from local and would not fall back to governed when no local artifact is available. The "*"
pattern makes governed eligible for every other dependency.
-->
<packageSource key="governed">
<package pattern="*" />
<package pattern="Microsoft.Data.SqlClient" />
<package pattern="Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider" />
<package pattern="Microsoft.Data.SqlClient.Extensions.Abstractions" />
<package pattern="Microsoft.Data.SqlClient.Extensions.Azure" />
<package pattern="Microsoft.Data.SqlClient.Internal.Logging" />
<package pattern="Microsoft.SqlServer.Server" />
</packageSource>
<!--
Use the Microsoft.Internal.* prefix instead of only Microsoft.Internal.Analyzers so companion
or transitive packages in the same internal namespace also restore from this feed. This prefix
is more specific than the governed/local "*" patterns, so NuGet gives it precedence.
-->
<packageSource key="internal-analyzers">
<package pattern="Microsoft.Internal.*" />
</packageSource>
</packageSourceMapping>
</configuration>