title: OutputPath is set to be bin\x86\release, but shown as obj\x86\release when using MSBuild
body: <p>In my .csproj file (C# project file) <a href="https://docs.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-properties" rel="nofollow noreferrer"><code>OutputPath</code></a> is set as in the following:</p>
  <pre><code>&lt;PropertyGroup Condition=&quot; '$(Configuration)|$(Platform)' == 'Release|x86' &quot;&gt;
    &lt;DefineTrace&gt;true&lt;/DefineTrace&gt;
    &lt;OutputPath&gt;bin\x86\Release\&lt;/OutputPath&gt;
    ....
  &lt;/PropertyGroup&gt;
  </code></pre>
  <p>In my NAnt script, I have this:</p>
  <pre><code>&lt;msbuild project=&quot;${demo.solution}&quot;&gt;
    &lt;property name=&quot;Configuration&quot; value=&quot;release&quot;/&gt;
  
    &lt;property name=&quot;OutputPath&quot; value=&quot;${output.dir}&quot;/&gt;
    &lt;property name=&quot;Platform&quot; value=&quot;x86&quot;/&gt;
  &lt;/msbuild&gt;
  </code></pre>
  <p>Why is the log showing that the DemoProject.dll is copied from obj\x86\release?</p>
  <blockquote>
  <p>....</p>
  <p>[msbuild] Project &quot;Demo.sln&quot; (1) is building &quot;DemoProjec1.vbproj&quot; (3) on node 0 (default targets).</p>
  <p>[msbuild] Copying file from &quot;obj\x86\Release\DemoProjec1.dll&quot; to ${output.dir}\DemoProjec1.dll&quot;.</p>
  <p>[msbuild] DemoProjec1 -&gt; ${output.dir}\DemoProjec1.dll</p>
  <p>[msbuild] Done Building Project &quot;DemoProjec1.vbproj&quot; (default targets).</p>
  </blockquote>
  <p>....</p>
  <p>Somehow the DemoProject.dll from <code>obj</code> is different in size compared to DemoProject.dll from <code>bin</code>.</p>