In Visual Studio 2015 I have a .net solution that I am working on with multiple classes and forms. Is there a way to make Visual Studio compile a class into its own dll rather than just embedding it into the .exe? I've read stuff about making multiple projects in one solution but that seems like it would create a really ugly file structure and workflow from a development side.
Thanks
edit
Each class is currently in its own file. Having multiple projects just for a .dll file seems like a really roundabout way of doing something.
I have found Can C# compiler compile a VB.Net code? solution on SO which works great for c# but i didnt think id have to do anything at the compiler level. I also have vb.net classes in that id like for this to work on if possible.