Thias was a change in Net5: https://docs.microsoft.com/de-de/dotnet/core/compatibility/windows-forms/5.0/automatically-infer-winexe-output-type But it also affects Net 4.6.1 Software. Our Program did not work any more until we added the suggested fix.