visual-studiodirectorytemporary-files.obj

How do I prevent Visual Studio from creating obj folders in my source directory?


I've set the OutputPath, IntermediateOutputPath, and BaseIntermediateOutputPath tags in all my csproj files. Despite that, Visual Studio creates extra "obj" folders in my source directories. As far as I can tell, it creates the directory obj\Debug\TempPE and then leaves it empty.

I don't mind Visual Studio creating all sorts of crap, but how do I tell it to create it only in places where I want it, not in the source directory?


Solution

  • It is not possible to prevent Visual Studio 2008 from doing this.