The same way you would normally using Main(). Your app still gets started by calling the entry point and the entry point overloads are still applicable. Just use the EntryPoint(string[] args) overload ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results