0

I'm trying to setup the helix example for asp.net core rendering following this article.

It's not going past step 12 and shows this error.

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

enter image description here

I have also added "dns":["8.8.8.8"] to the Docker Engine configuration.

3
  • Can you verify that you are running windows containers? Jul 22, 2022 at 9:42
  • @SumitUpadhyay Could you pls let me know how?
    – sukesh
    Jul 22, 2022 at 10:02
  • The easiest method would be to right-click on Docker Desktop in the tray icon. You should see "Switch to Windows Containers" which means that you are running Linux containers. Once you click this, try re-running the setup Jul 23, 2022 at 10:10

1 Answer 1

1

Seems Symantec was causing the problem. I have stopped it by executing smc -stop in the Run dialog.

1
  • This solved the issue for me too, thank you! Feb 16, 2023 at 16:24

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.