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

Check for use of public or other nuget package sources in msbuild

$
0
0

I want to restrict the user to use only private or firm approved nuget feeds to install new packages.I do see that nuget.config file has disabledPackageSources which allows you to specify the sources which are not allowed to be used.Is there something like that available in msbuild? Or is there a way where I can list the package sources used while restoring the nuget packages of a project and then show an error message that an invalid source has been used.

Thanks in advance.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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