views:

45

answers:

1

Hi,

in my MSBuild file (TFSBuild.proj since I am running Team Builds) the exec command=gacutil alwys fails with the following error: Failure initializing gacutil my build machine is a W2K3 with Team Build 2010.

any ideas.

Many thanks

A: 

Do you have the .NET framework SDK installed? I don't believe Gacutil is part of the standard .NET loadout.

Robaticus
yes it installed here:C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\
Idriss
Make sure that path is included in your path search. Why do you want to GAC files in your build process?
Robaticus
yes the whole path is included...it is my requirement to gac from MSBuild
Idriss
Ok, then. The last thing I could think of is that the build service account doesn't have rights to add things to the global assembly cache. Without any other specific error messages (like maybe eventlog), I'm at a loss.
Robaticus
Try running gacutil from a normal CMD.exe prompt ON that server AS the build agent. That should give you exactly what the build server is seeing.Even invoking by full path may not give gacutil.exe what it needs, I don't remember that tool, but a lot of the tools that run under the SDK command prompt require some other stuff
Taylor