Monday, May 07, 2012

Setting up GacUtil as part of your post build step

Here is a simple set of commands to get GacUtil to run as part of the post-build step (via the project properties dialog)

set var="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\gacutil.exe" /i "$(TargetPath)" /f
echo running gacutil
echo %var%

No comments: