Skip to content

Commit

Permalink
Add nuget config (#29)
Browse files Browse the repository at this point in the history
* add nuget.config to silence warnings
add .idea/ to .gitignore

* add .vscode to gitignore, for now
  • Loading branch information
edmistond authored Nov 26, 2022
1 parent b58298f commit 81ae4e2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -348,3 +348,7 @@ MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/
.idea/

# for now, ignore vscode configs
.vscode/
17 changes: 17 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<configuration>
<!-- `clear` ensures no additional sources are inherited from another config file. -->
<packageSources>
<clear />
<!-- `key` can be any identifier for your source. -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>

<!-- Define mappings by adding package patterns beneath the target source. -->
<!-- Contoso.* packages and NuGet.Common will be restored from contoso.com, everything else from nuget.org. -->
<packageSourceMapping>
<!-- key value for <packageSource> should match key values from <packageSources> element -->
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>

0 comments on commit 81ae4e2

Please sign in to comment.