With .NET Core 3.0, a little feature was added to the build process. According to Microsoft:
.NET Core now builds framework-dependent executables by default. This behavior is new for applications that use a globally installed version of .NET Core.
I have searched, but I cannot find a way to prevent this. Unfortunately, this executable causes me issues when pushing my application to Cloud Foundry because it now thinks it's a stand-alone EXE file when it should run it with dotnet cli using the DLL file built for my application.
Is there a way to prevent this default EXE from being built?
I can always add a final step to my build process to remove it, but it seems like there should be a way to prevent it in the first place.