You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NuGet 6.9 renamed no-cache to no-http-cache and deprecated the old setting name #4412
var installSettings = new NuGetInstallSettings
{
Source = new [] {
BuildSettings.PackageDirectory,
"https://www.myget.org/F/nunit/api/v3/index.json",
"https://api.nuget.org/v3/index.json"
},
Version = PackageVersion,
OutputDirectory = PackageInstallDirectory,
//ExcludeVersion = true,
Prerelease = true,
NoCache = true,
Verbosity = BuildSettings.NuGetVerbosity
};
then one gets a warning about this deprecation in the logs
...
NoCache is deprecated and has been renamed to NoHttpCache. Please use NoHttpCache instead.
...
What is expected?
I don't know if cake has any idea of the underlying version of NuGet, but if it don't then perhaps it should be possible to set both NoCache and a new NoHttpCache in a period to support both old and new clients until NuGet removes the old setting.
...
---------------------------------------------------
Installing NUnit.Cake.Recipe.1.3.0-pr00050.16.nupkg
---------------------------------------------------
NoCache is deprecated and has been renamed to NoHttpCache. Please use NoHttpCache instead.
Feeds used:
/home/runner/work/NUnit.Cake.Recipe/NUnit.Cake.Recipe/package/
https://www.myget.org/F/nunit/api/v3/index.json
https://api.nuget.org/v3/index.json
Activity
(cake-buildGH-4412) NuGetInstall Add NoHttpCache, obsolete NoCache
(cake-buildGH-4412) NuGetInstall Add NoHttpCache, obsolete NoCache