1. Build Error: Task failed because “sgen.exe” was not found, or the correct Microsoft Windows SDK is not installed.
Solution: copy /y “C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sgen.exe” “C:\WINDOWS\Microsoft.NET\Framework\v3.5\”
Reference: