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.