error MSB3073: exit code 9009


  • Hi All,

    i am trying to run 

    <Exec Command='C:\Program Files\WinZip\wzzip -r -p -ybc \\\Drop\ \\\Drop\TestBuild_Dev_20080728.9\Sites\*.*'></Exec>

    in my build file but its giving exit code error as below:-

    c:\build\Test\OriginalBuild\BuildType\TFSBuild.proj(156,5): error MSB3073: The command "C:\Program Files\WinZip\wzzip -r -p -ybc \\Server\Drop\ \\Server\Drop\TestBuild_Dev_20080728.9\Sites\*.*" exited with code 9009.

    Wht am i doing wrong.. I am just trying to zip the files using wzzip command line tool.

    it works perfect if i run in command line.....Any suggestions?

    • Moved by spacewrangler Wednesday, July 30, 2008 4:23 AM more appropriate forum? (Moved from Building Development and Diagnostic Tools for .Net to MSBuild)
    Tuesday, July 29, 2008 6:32 PM


All replies

  • Try setting the workingdirectory property of the exec path to the location of wzzip.

    You could also try the compression tasks (cab & zip) in here
    • Marked as answer by Feng Chen Monday, August 04, 2008 2:59 AM
    Wednesday, July 30, 2008 8:04 AM
  • 9009 is cmd.exe's way of saying "blah is not an executable program" etc. It can't find the tool.
    developer on msbuild
    Monday, September 22, 2008 2:59 PM
  • And what is it means ?: MSBUILD : Error MSB3073: The command "..." exited with code 128.
    Thursday, February 02, 2012 11:24 AM