You need to make a class library and not a Console Application. The console application is translated into an .exe whereas the class library will then be compiled into a dll which you can reference in your windows project.
- Right click on your Console Application -> Properties -> Change the Output type to Class Library
