To install a dll in the GAC on the post-build event use this: "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" /f /i $(TargetPath) This requires the Windows SDK obviously. Read More...