Add an explicit NuGet source for NuGetPush
See original GitHub issueAs of NuGet client 3.4.something, performing a NuGet push requires a source to be specified (it used to use a default source if none was provided). See NuGet/Home#2504 for more information.
At first glance, I would assume this should go in NuGetPusher
(https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/NuGet/Push/NuGetPusher.cs#L74) as an alternate branch if NuGetPushSettings.Source
isn’t specified. The bigger question is probably what the default should be…
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
dotnet nuget add source command - .NET CLI
The dotnet nuget add source command adds a new package source to your NuGet configuration files.
Read more >Private NuGet Packages via GitHub Actions
Option 2 – Add NuGet Source Explicitly. Assuming a repo root nuget.config has the GitHub package source… 1. 2.
Read more >How to pass credentials when publishing nuget package ...
The user used is the server's local administrator. Now I'm trying to publish a package using Nuget Deploy. The command line used is:...
Read more >A NuGet package workflow using GitHub Actions
The client I'm currently working with, builds their NuGet ... We are going to configure GitHub Actions to do this by adding a...
Read more >NuGet support in AppVeyor CI
To configure custom feed in Visual Studio open Tools → Options → Package Manager → Package Sources and add new feed. When you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@daveaglick re-opening this, as I have an open PR that will add documentation for this scenario.
Sounds good - I’ve already patched my own builds to supply sources on push, so this no longer affects me personally.
Anyone else who has a build script that doesn’t supply a source will break when they update NuGet and try to push. I’m guessing at this point most folks have probably already updated NuGet and encountered this if they were going to. The verbose warning should help point out what they need to do to get back up and running.