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, 2021 at 20:58
  • is it building your solution from Visual Studio ? Oct 27, 2021 at 4:12
  • @VladIobagiu Not building from Visual Studio but from the docker install
    – Beginner
    Oct 27, 2021 at 16:58


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.