<gac>
This task provides some of the same functionality as the gacutil tool provided in the .NET SDK.
| Attribute | Description | Required |
|---|---|---|
| assembly | The name of a file that contains an assembly manifest. | True |
| uninstall | Removes the assembly from the global assembly cache and the native image cache. Default is "false." | False |
| timeout | Stop the build if the command does not finish within the specified time. Specified in milliseconds. Default is no time out. | False |
| failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False |
| verbose | Task reports detailed build log messages. Default is "false." | False |
| if | If true then the task will be executed; otherwise skipped. Default is "true." | False |
| unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
Example
<gac assembly='hello,Version=1.0.0.1,
Culture="de",PublicKeyToken=45e343aae32233ca'uninstall="true"/>