dotnet build vs dotnet publish in Visual Studio
dotnet build compiles the project and leaves the output in bin/, ready to run on the machine that built it. dotnet publish compiles it too, then gathers the app and its dependencies into one folder under bin/…/publish/, ready to copy to another machine. So...






