I've noticed that having a
globalPackagesFolder element explicitly configured in the nuget.config file of my repository causes the following error to be output by NCrunch.
Code:
Unable to restore required Nuget packages for .NET Core test environment.
Everything still seems to work okay, but can someone please confirm whether this error is spurious? Removing the explicit
globalPackagesFolder configuration makes the warning go away, but for reasons beyond my control I need this configuration to be present. For reference, my nuget.config is reproduced below:
Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageRestore>
<add key="enabled" value="true" />
</packageRestore>
<config>
<add key="globalPackagesFolder" value="packages" />
<add key="repositorypath" value="packages" />
</config>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>