This project is read-only.

Error on installation (error MSB3073)

Topics: Setup / Configuration
Jun 20, 2010 at 4:25 PM
Edited Jun 20, 2010 at 4:26 PM

Hello All,

I have the same error that was reported in 2008 by anagin:

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

anagin
Jul 29 2008 at 3:00 PM 
Friends:

Following are the Errors that are stopping to complete my Installation of DinnerNow....

Need Help Please !

I have the same error reported in 2008 by anagin.

anagin
Jul 29 2008 at 3:00 PM 
Friends:

Following are the Errors that are stopping to complete my Installation of DinnerNow....

Need Help Please !

ERROR-1
-----------------
Cannot resolve alias 'mcert' because it refers to term 'C:\Program Files\Micros
oft SDKs\Windows\v6.0A\bin\makecert.exe', which is not recognized as a cmdlet,
function, operable program, or script file. Verify the term and try again.
At C:\DinnerNow25\scripts\install\library.ps1:17 char:7
+     mcert  <<<< -pe -n "CN=DinnerNow Root Authority" -ss root -sr LocalMachin
e -a sha1 -sky signature -r

ERROR-2
-----------------
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3363,13): erro
r MSB3073: The command "call "%VS90COMNTOOLS%\vsvars32.bat" > NULL \r
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3363,13): erro
r MSB3073: gacutil.exe /if "C:\DinnerNow25\solution\DinnerNow - IIS7 Handlers\I
mageCopyrightService.Management\bin\Debug\ImageCopyrightService.Management.dll"
" exited with code 9009.

 

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

I resolved error 1 by changing the path on line 15 of library.ps1 file to set-alias mcert "$env:ProgramFiles (x86)\Microsoft SDKs\Windows\v7.0A\Bin\makecert.exe"

However, I cannot figure out what to do with error 2

C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: The command "call "%VS90COMNTOOLS%\vsvars32.bat" > NULL \rC:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: gacutil.exe /if "C:\DinnerNow-3.1\solution\DinnerNow - IIS7 Handlers\ImageCopyrightService.Management\bin\Debug\ImageCopyrightService.Management.dll"" exited with code 9009.
An Error Occured building the DinnerNow Solution

Any help would be appreciated.

Thank you,

Kevin

 

Sep 8, 2011 at 1:41 PM

I had this same issue; the problem occurred because I did not have Visual Studio 2008 SP1 installed. I was trying the free Windows SDK, I tired other versions of Visual Studio, I tried Visual Studio Express 2008; same error in all cases. The only thing that finally made it successful was using the full install of Visual Studio 2008 Professional SP1.