I have 2 Winforms project and 1 Library project in my solution, this 2 winforms will be launched independently by the user.
What happens right now is that the shared DLL is instantiated in memory per process, even if both exes are in the same folder or if the DLL is in the GAC.
But I wish I could reuse the same DLL between those 2 process.
I found a workaround, create a third project and instantiate the winforms project from there, in this case the DLL will be only instantiated once in memory. But I don't like to have an extra project for this to work. Any other Solution?