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.

NuGetCommand@2 2.167.4 Failing with ##[error]Invalid Version: null

See original GitHub issue

Question, Bug, or Feature?
Type: Bug

Enter Task Name: NuGetCommand

Environment

Issue Description

It appears that NuGetCommand version 2.167.2 was working for me around 7:14 PM (2020-04-07T19:14:00-04:00) and stopped working with NuGetCommand version 2.167.4 around 7:55 PM (2020-04-07T19:55:00-04:00) image

Task logs

raw_logs_from_build_id_1114_logs_48.zip

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting Yes, I troubleshooted (troubleshot?, troubleshotted?) and collected diagnostic logs.

Error logs

##[error]Invalid Version: null

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
johntericksoncommented, Apr 8, 2020

@im2cre8iv I believe we will have a public RCA on this, but the short version is that we had to rush through normal gates because of https://status.dev.azure.com/_event/182998791 and the manual testing we had done that we thought would cover this did not (still unsure why). Needless to say, this was a mistake.

1reaction
sl-NZcommented, Apr 8, 2020

We have seen the same issue, that is ##[error]Invalid Version: null in yaml pipeline using nugetcommand@2 , change task version to nugetcommand@1 has resolved the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NuGetCommand@2 - NuGet v2 task | Microsoft Learn
Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet.
Read more >

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