Add nuget.config to .gitignore root exceptions

Add nuget.config
This commit is contained in:
Matija Koželj 2022-12-29 11:05:37 +01:00
parent 2ea140ac81
commit 8e16bc027a
2 changed files with 18 additions and 0 deletions

1
.gitignore vendored
View File

@ -414,6 +414,7 @@ FodyWeavers.xsd
#ignore all in root folder except the allowed values
/*
!nuget.config
!.editorconfig
!.gitignore
!LICENSE

17
nuget.config Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositoryPath" value="%PACKAGEHOME%/External" />
</config>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />
<add key="Local repository" value="%LOCAL_NUGET%" />
</packageSources>
<disabledPackageSources />
</configuration>