How do I set the Nuget location in a csproject in Net core?
We have Microsoft official nuget packages which should be referring to Nuget.org.
Other packages which should refer to C:\NugetFileShare, (Nugets for company class libraries in a private Nuget repository)
Currently, we are using Package Reference format.
Is there anyway in the Project xml file to state the Nuget location for each, and ones which require Private Nuget location?
The following designations from a Solution level, curious if it can be done from project level scope? Referencing NuGet packages from directory in solution
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="globalPackagesFolder" value=".\packages" />
</config>
</configuration>
Other Resources:
Is there a way to make NuGet Package Source settings per solution?