Dotnet build or publish command hanging

Oct 18, 2023 /
# Dotnet

Dotnet build and publish commands take up a lot of system resources.

If your build or publish commands are taking forever, hanging, freezing, or unresponive, check your systems available resources.

It’s not uncommon for these commands to max out your CPU or Memory, causing the system to lock up.

Check resources on Windows

Before running your build or publish, open the task manager and monitor your system resources.

Check resources on Linux or Mac

Before running your build or publish, in the terminal run the top command to monitor your system resources.

If your remoting into a Linux server, you may need to open and ssh 2 different terminal sessions. One will run the dotnet build or publish, the other to monitor resources.

Early Access

Dotnet Engine will be launching in early access soon. Signup with your email now to get notified when early access starts and a special launch price.