error during build using sandcastle help builder with visual studio 2010 .NET 4.0 project

Posted by ZeroAbsolute on Stack Overflow See other posts from Stack Overflow or by ZeroAbsolute
Published on 2010-06-01T15:32:12Z Indexed on 2010/06/01 15:33 UTC
Read the original article Hit count: 531

I was using sandcastle to generate help for my project in visual studio 2008. When i change my project to visual studio 2010 and change the project .NET version to .NET 4.0 i got this problem with Sandcastel. I can't understand why sandcastel is using C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe and not C:\Windows\Microsoft.NET\Framework64\v4.0\MSBuild.exe thinking that i specified as framework version the v4.0.30319

Can anyone tell me how to resolve this issue?? Where to change the path of the msbuild.exe or some other solution ???

Generating reflection information...
[C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe]
GenerateRefInfo:
  MrefBuilder (v2.4.10520.1)
  Copyright c Microsoft 2006
  Info: Loaded 1 assemblies for reflection and 0 dependency assemblies.
MREFBUILDER : error : Unresolved assembly reference: System.Windows.Forms (System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) required by WLAEDInt

Last step completed in 00:00:01.2731

-------------------------------

SHFB: Error BE0043: Unexpected error detected in last build step.  See output above for details.

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about .net-4.0