Closed leorg99 closed 7 months ago
Just figured out. Deleted nuget.config
in the solution directory and it worked. Not sure which part yet it doesn't like.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Create a repo-specific global packages folder for full security benefit -->
<config>
<add key="globalPackagesFolder" value="globalPackagesFolder" />
</config>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<!-- Declare package sources/feeds -->
<packageSources>
<!-- To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
<add key="nexus" value="private nuget" />
</packageSources>
<packageSourceMapping>
<clear />
<packageSource key="nuget">
<package pattern="*" />
</packageSource>
<packageSource key="nexus">
<package pattern="Namespace1*" />
<package pattern="Namespace2*" />
</packageSource>
</packageSourceMapping>
</configuration>
Very strange. I literally deleted it and recreated the file and it worked. Only difference is that it was initially named Nuget.Config
and i recreated it as nuget.config
.
case sensitivity bites again :)
Usage Information
Nuke 8.00 / .NET SDK version 8.0.204 / Linux,.NETCoreApp,Version=v8.0
Description
Running in Debian, I get the following error:
Binlog: msbuild.binlog.zip
Seems related to #1206
Reproduction Steps
I am running
nuke pack
My _build.csproj:
Expected Behavior
Should download GitVersion.Tool package
Actual Behavior
Exits with error
Regression?
No response
Known Workarounds
No response
Could you help with a pull-request?
No