Umbraco not starting using .dll file

I couldn’t find a similar issue on the forum.

I’m trying to build my small Umbraco project into a Docker container, but running the dll-file using dotnet shows no output, nor does it start the server.

I can reproduce this by creating an entirely new Umbraco v11.2.0 application:

dotnet new umbraco -n Test && cd Test

dotnet restore
dotnet publish -c Release

dotnet bin/Debug/net7.0/Test.dll

I have been able to reproduce this on both macOS and Linux.

Running using “dotnet run” works fine, but it also starts Umbraco in development mode. Publishing in Debug mode has no effect.

Thanks,
Max


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/111417-umbraco-not-starting-using-dll-file