Microsoft
Software
Hardware
Network
Question : Visual Studio 2005 Error - Build failed failed because "sgen.exe" was not found
I am trying to do a web project build using Visual Studio 2005 Professional Edition and I'm getting the following error:
C:\WINNT\Microsoft.NET\Fra
mework\v2.
0.50727\Mi
crosoft.Co
mmon.targe
ts(1902,9)
: error MSB3091: Task failed because "sgen.exe" was not found, or the .NET Framework SDK v2.0 is not installed. The task is looking for "sgen.exe" in the "bin" subdirectory beneath the location specified in the SDKInstallRootv2.0 value of the registry key HKEY_LOCAL_MACHINE\SOFTWAR
E\Microsof
t\.NETFram
ework. You may be able to solve the problem by doing one of the following: 1.) Install the .NET Framework SDK v2.0. 2.) Manually set the above registry key to the correct location. 3.) Pass the correct location into the "ToolPath" parameter of the task.
I have done dozens of builds before this, and haven't installed anything new. Not a lot out there on this problem, hoping someone else has run into this.
TIA,
N
Answer : Visual Studio 2005 Error - Build failed failed because "sgen.exe" was not found
This was due to a patch being installed on the TFS server that created an incompatibility.
Random Solutions
Vista x64 Driver Signature Enforcement
Outlook 2003 Add-In with VSTO: no permissions
MSSQL Enterprise Manager on Windows 7 when I only have a SQL Server 2000 disk?
What are the various reasons that an Access 2003 MDB type application would display a Read-Only message (sometimes) when you launch the application?
How to get zip codes to convert properly from Excel to Access
How do you check the current date format of an SQL Server 2005 database?
Compaq Presario SR5010NX Desktop PC
Outlook 2007 connecting to Exchange 2010. Cannot connect to email folders.
SQL Count Query In a Main Query
Basic steps for a Zip code search ASP.NET VB, MS SQL 2008