question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NuGet task 2.167.4 breaks with `##[error]Invalid Version: null`

See original GitHub issue

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature? Bug Enter Task Name: NuGet 2.167.4

Environment

Azure Pipelines, Windows Hosted Agents: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=71481&view=logs&j=ef19874c-dd89-559a-7822-f5a414b01ba4&t=4896892c-c3d0-5a70-c160-70c47766e990&l=5

Issue Description

NuGet v2.167.4 breaks our build when restoring NuGet packages from a private source:

image

It worked yesterday when it was on v2.167.2:

image

Here’s the task usage: https://github.com/microsoft/vscode/blob/master/build/azure-pipelines/win32/product-build-win32.yml#L224:L231

Task logs

2020-04-08T09:20:38.6561215Z ##[section]Starting: Install ESRPClient.exe
2020-04-08T09:20:38.6694108Z ==============================================================================
2020-04-08T09:20:38.6694896Z Task         : NuGet
2020-04-08T09:20:38.6695872Z Description  : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
2020-04-08T09:20:38.6696854Z Version      : 2.167.4
2020-04-08T09:20:38.6697358Z Author       : Microsoft Corporation
2020-04-08T09:20:38.6697991Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
2020-04-08T09:20:38.6698682Z ==============================================================================
2020-04-08T09:20:39.4512022Z Caching tool: NuGet 4.1.0 x64
2020-04-08T09:20:39.4962154Z Found tool in cache: NuGet 4.1.0 x64
2020-04-08T09:20:39.5017267Z Resolved from tool cache: 4.1.0
2020-04-08T09:20:39.5018685Z Using version: 4.1.0
2020-04-08T09:20:39.5464301Z ##[error]Invalid Version: null
2020-04-08T09:20:39.6523428Z ##[section]Finishing: Install ESRPClient.exe

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
joaomorenocommented, Apr 14, 2020

@apluche As mentioned in my last comment v2.167.5 fixed it for us.

0reactions
apluchecommented, Apr 14, 2020

Since the original issue is fixed, I’m closing this out. Please feel free to reach out with any questions or concerns!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found