How do I stop my class library generating an .EXE file and causing a TypeLoadException Exception?
问题 I've got a really strange error occurring in my solution one of my projects which is a class library is causing a project it is referenced in to throw a TypeLoadException. I've looked through various answers on SO and the closest to my issue is; TypeLoadException was unhandled in C# [closed] This answer led me to question if this was my issue, doing some digging in the debug folders I found that my project that was referencing my class library is generating a DLL and EXE with the same name,