The "solution" in Visual Studio is a collection of projects. Each project is independent of all others. This is just a convenient way to organize projects and open them together.
If one project will use public objects defined in another project, it must be compiled with reference to another project. This is true whether the projects are part of one solution or not.
To tell Visual Studio that the EXE needs to be compiled with a reference to the DLL, you must add the DLL to the list of EXE links in Solution Explorer.
Jeffrey l whitledge
source share