views:

289

answers:

2

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?

+1  A: 

It's possible that you're running into a bug. If you see the obj folder being created but not containing any data and you see the expected files being created in the path you specified it may be an oversight.

If this is the case can you please file a bug on connect?

JaredPar
Thanks. I searched Connect and it turns out the bug is known since VS 2005, and has not been fixed in 2008 because it is incorrectly classified as a feature request. If you are somehow connected with Microsoft, do you think you could effect the necessary change to turn it back into a bugreport? https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=91853
Timwi
+2  A: 

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

Timwi