While working with .NET Aspire
, I encountered an issue where one of my projects (adg-banner-printer
) wasn’t being included in the aspire publish
process. Here's a breakdown of the troubleshooting steps and the root cause:
-
Internal
Program
Class? I initially suspected the issue might be due to theProgram
class being marked asinternal
. That wasn’t the case. -
Private
Main
Method? Next, I checked whether theMain
method beingprivate
might be the cause. Still no effect.