Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Best Nuget.Config approach for development and production

$
0
0

If I have NuGet.config file with two sources retrieved from Artifactory.

For development purposes, one would want source to come from local packages if needed.

What is the best approach to go about that? 1) Having two Nuget.config, one for local development and one for production?2) Include backup sources for nuget.config within same file?3) Something else?

I guess the question is more about process to make development process easier. The NuGet.Config file is to be copied to Docker container to be part of that image.

For reference, here are the contents of the NuGet.config file:

<?xml version="1.0" encoding="utf-8"?><configuration><packageSources><clear /><add key="Internal-Packages" value="http://artifactory.mycompany.corp:8081/artifactory/api/nuget/Internal-Packages" /><add key="External-Packages" value="http://artifactory.mycompany.corp:8081/artifactory/api/nuget/External-Packages" /></packageSources><activePackageSource><add key="All" value="(Aggregate source)" /></activePackageSource></configuration>

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>