I know this is probably a dumb question but...
I have a need to create a DLL that displays a windows form when called from another application. However, I also need this form, in certain scenarios, to be a standalone application.
Right now, it's a fully working DLL that when called from another app, works as expected. I've been working on creating a "stub" exe that does nothing but reference and call the function in the DLL that displays the form. But then the thought came to me, is it possible to create this as an EXE that can be executed directly and still be able to reference it as a Class Library from another application?
What I have tried:
searching for info, but found nothing.