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.

No file format header found (Build Step/Nuget restore)

See original GitHub issue

Hello, I followed the article: https://msdn.microsoft.com/Library/vs/alm/Build/azure/deploy-aspnet5

I am getting “No file format header found.”

Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\tasks\VSBuild\1.0.15\VSBuild.ps1
2015-09-22T09:51:03.4563485Z C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agent\worker\tools\NuGet.exe restore "C:\a\ce1f12e0\Trucko Demo\src\TruckoDemo\TruckoDemo.xproj" -NonInteractive
2015-09-22T09:51:04.4097630Z ##[error]No file format header found.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:26 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
chrispatcommented, Sep 23, 2015

You can’t run nuget restore against anything other than an SLN file.

0reactions
omarpandocommented, Jan 6, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

No file format header found (Build Step/Nuget restore) #571
I got the same error and it got resolved by unchecking the options "Restore NuGet Packages” and “Clean” in MS Build step of...
Read more >
Error "No file format header found." running NuGet restore
My solution was to put my bigpackages.config file in a subfolder, using the accepted filename. This command succeeds: Nuget.exe restore ...
Read more >
No file format header found when building msbuild proj ...
The build workflow is trying to restore nuget packages before building my project making the wrong assumption that this is a .sln solution...
Read more >
Azure devops pipeline fails at nuget restore step
We have a couple of continuous integration pipelines that started failing today on the nuget restore step. no code changes were submitted, so...
Read more >
Package Not Found During Package Restore
The solution is very simple: you can set the active package source to aggregate in Visual Studio, or simply configure NuGet to always...
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