Post build. Add assembly to GAC

In Visual studio under the project click propeties.
Then select the build events and then the post build event command line
Enter:

CALL "%VS80COMNTOOLS%\vsvars32.bat" > NULL
gacutil.exe /if "$(TargetName)"

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.