Command line error D8036 - not allowed with multiple source files

c++, visual-studio-2010

Solution

had the same problem and realized i had removed the slash at the end of:

configuration properties->c/c++->output files->object file name->

once i added back the slash at the end of the file name, everything worked again

Problem

I was working in visual studio, and I made a few changes to one of my projects (changed a few include directories). When I tried to build that project later on I got the following error message: ``` cl : Command line error D8036: '/Fo.\obj\ms100_r' not allowed with multiple source files ``` I don't see how that is relevant to what I changed at all. I even rolled my .vcxproj file back to the previous version and that error still persists. I am clueless as to what is causing it. Aren't command line parameters supposed to be managed by visual studio anyway?

Original source