Welcome to Team System Rocks Sign in | Join | Help
in
Home Blogs Forums Photos Tutorials Files Roller
Notion Solutions Main Site

Team Build failing on regsvr32 command

Last post 08-29-2008, 12:16 PM by bbridges. 1 replies.
Sort Posts: Previous
  •  08-29-2008, 7:48 AM

    Team Build failing on regsvr32 command

    I am trying to successfully build a team project that has a pre build event to register 5 dlls.  I have read the build log numerous times and cannot seem to figure out the problem.  The prebuild event reads like this:

    regsvr32 $(SolutionDir)DLLs_ToRegister\file1.dll

    regsvr32 $(SolutionDir)DLLs_ToRegister\file2.dll

    regsvr32 $(SolutionDir)DLLs_ToRegister\file3.dll

    regsvr32 $(SolutionDir)DLLs_ToRegister\file4.dll

    regsvr32 $(SolutionDir)DLLs_ToRegister\file5.dll

    regsvr32 $(SolutionDir)DLLs_ToRegister\file6.dll

    When building in the development environment, this command works perfectly for all developers, but when I queue a build I get the following error

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(885,9): error MSB3073: The command "regsvr32 C:\Documents and Settings\tfsservice\Local Settings\Temp\AIRCAT\AIRCAT Integration\Sources\DLLs_ToRegister\file1.dll /s

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(885,9): error MSB3073: regsvr32 C:\Documents and Settings\tfsservice\Local Settings\Temp\PROJECT\PROJECT Integration\Sources\DLLs_ToRegister\file2.dll /s

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(885,9): error MSB3073: regsvr32 C:\Documents and Settings\tfsservice\Local Settings\Temp\PROJECT\PROJECT Integration\Sources\DLLs_ToRegister\file3.dll /s

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(885,9): error MSB3073: regsvr32 C:\Documents and Settings\tfsservice\Local Settings\Temp\PROJECT\PROJECT Integration\Sources\DLLs_ToRegister\file4.dll /s

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(885,9): error MSB3073: regsvr32 C:\Documents and Settings\tfsservice\Local Settings\Temp\PROJECT\PROJECT Integration\Sources\DLLs_ToRegister\file5.dll /s

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(885,9): error MSB3073: regsvr32 C:\Documents and Settings\tfsservice\Local Settings\Temp\PROJECT\PROJECT Integration\Sources\DLLs_ToRegister\file6.dll /s" exited with code 3.

    I have been searching for days for an answer and am stuck.  I know the exit code mean that the file/path was not found, but the build log clearly indicates that the directory was created and the files pulled from the server.

    Please help.

     

  •  08-29-2008, 12:16 PM

    Re: Team Build failing on regsvr32 command

    Never mind, the path has spaces and is not in quotes.  Developers never had problems with this because no one has a workspace mapped to a directory with spaces in the path.

     

    Thanks though...

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems