This is a mirror of official site: http://jasper-net.blogspot.com/

VisualStudio: How to save the obj folder somewhere else

| Monday, June 6, 2011
Question: 
Does anyone know how to tell VS(2008) where to save the obj folder when building the solution? We have it save the bin folder to another path in order to keep the source file folders small (ie. emailable), but can't find any way to tell it to do the same with obj...

Answer: 
Use the BaseIntermediateOutputPath property in the project file (.csproj, .vbproj, etc.), as explained at http://msdn.microsoft.com/en-us/library/bb629394.aspx. You'll have to manually edit the XML document using a text editor, then reload it in Visual Studio. It may still create the obj folder (that's a known bug), but will leave it empty and put the actual obj files in your specified folder.

Read more: Stackoverflow

Posted via email from Jasper-net

0 comments: