dotnet build at solution level, the asset producing projects always run late. So I have to run it twice. I created a script to build each project in order by calling dotnet build on the project level. However, some commands like dotnet publish or dotnet release seem to work better and easier on the solution level.