NuGet.Config 1.3 KB
Newer Older
P
Pilchie 已提交
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Copyright (c)  Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information. -->
P
Pilchie 已提交
3 4

<configuration>
5 6 7 8 9 10 11
  <packageRestore>
    <!-- Currently, the repository's version of NuGet.exe and Visual Studio's version
         fight over the format of project.lock.json because the one in the respository
         is newer. To prevent that, turn off package restore. -->
    
    <add key="automatic" value="false" />
  </packageRestore>
P
Pilchie 已提交
12 13 14
  <solution>
    <add key="disableSourceControlIntegration" value="true" />
  </solution>
15
  <config>
16
    <add key="repositoryPath" value="../packages" />
17
  </config>
18
  <packageSources>
19
    <clear />
M
Maarten Balliauw 已提交
20 21 22 23
    <add key="myget.org dotnet-coreclr" value="https://www.myget.org/F/dotnet-coreclr/api/v3/index.json" />
    <add key="myget.org dotnet-core" value="https://www.myget.org/F/dotnet-core/api/v3/index.json" />
    <add key="myget.org dotnet-corefxtestdata" value="https://www.myget.org/F/dotnet-corefxtestdata/api/v3/index.json" />
    <add key="myget.org dotnet-buildtools" value="https://www.myget.org/F/dotnet-buildtools/api/v3/index.json" />
24
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
25 26
  </packageSources>

27
</configuration>