I tried to run the Helix Sample for ASPCore using docker but I get an error that says

MsBuild timeout out while trying to get project to project references. The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nuget restore -Verbosity quiet' returned a non-zero code: 1 ERROR: Service 'solution' failed to build : Build failed

Has anyone encountered the same error?


  • 1
    Disable your VPN client/corporate proxy.
    – Mark Cassidy
    Oct 26 '21 at 20:58
  • is it building your solution from Visual Studio ? Oct 27 '21 at 4:12
  • @VladIobagiu Not building from Visual Studio but from the docker install
    – Sunshine
    Oct 27 '21 at 16:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.