title: Nant 0.92 Won't build 32 bit solution on 64 bit OS with vs 2012
body: <p>Hello I am having trouble building a x86 solution on Server 2008 r2 x64 with vs 2012 installed. It always errors out with the below errors:</p>
  
  <pre><code>  [msbuild] "C:\fake.sln" (Build target) (1) -&gt;
    [msbuild] "C:\fake.csproj.metaproj" (default target) (2) -&gt;
    [msbuild] "C:\fake.csproj" (default target) (8) -&gt;
    [msbuild] "C:\xeqodvbc.tmp_proj" (_CompileTemporaryAssembly target) (11) -&gt;
    [msbuild] (CoreCompile target) -&gt; 
    [msbuild]   error CS1607 : Warning as error : Assembly generation -- Referenced assembly 'PresentationCore.dll' targets a different processor [C:\xeqodvbc.tmp_proj]
    [msbuild]   error CS1607 : Warning as error : Assembly generation -- Referenced assembly 'System.Data.dll' targets a different processor [C:\xeqodvbc.tmp_proj]
  </code></pre>
  
  <p>Below is the nant task that is failing. (I have changed the project names) All the Set3.5 target does is set the msbuild.targetframework property to v3.5. </p>
  
  <pre><code>&lt;target name="faketarget" depends="makeTempDir" description="builds"&gt;
      &lt;call target="set3.5" /&gt;
      &lt;msbuild project="our32bit.sln" target="Build" verbosity="${msbuild.verbosity}"&gt;
          &lt;property name="Configuration" value="${build.configuration}" /&gt;
          &lt;property name="Platform" value="x86" /&gt;
          &lt;property name="PlatformTarget" value="x86" /&gt;
          &lt;!--&lt;property name="Platform" value="${build.platform}" /&gt;--&gt;
          &lt;property name="RunCodeAnalysis" value="${code.analysis}" /&gt;
          &lt;property name="CodeAnalysisRules" value="${code.analysis.rules}" /&gt;
          &lt;property name="TargetFrameworkVersion" value="${msbuild.targetframework}" /&gt;
      &lt;/msbuild&gt;
  </code></pre>
  
  <p>Now If I go into the solution's folder and call msbuild /p:TargetFrameworkVersion=v3.5 it builds no problem and if I open it in VS 2012 I can build it from there as well. Any suggestions?</p>