Cannot compile project with Editor (4.16) open

Whenever I try to compile the project with the Editor open, I get a LNK1104 on the project DLL and a MSB3075 on the build command. If I close the editor and compile, it works.

I’m using 4.16 and Visual Studio 2017 and the project is freshly made from the C++ templates inside the editor. I tried creating the project on another drive but I got the same results. I even installed and tried to use Visual Studio 2015 with no luck.

Is there something I’m missing?