Move obj folder in Visual Studio 2012
c#, visual-studio, visual-studio-2012
Solution
You'll need to edit the project file (XML) to specify the `<BaseIntermediateOutputPath>`. This value defaults to `obj\`.
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
...
<BaseIntermediateOutputPath>some\path\</BaseIntermediateOutputPath>
</PropertyGroup>
Problem
Because the path becomes too long (more than 260 characters), I need to create the `obj` folder elsewhere. How can I tell Visual Studio 2012 to create this folder in a specified path?