Friday, February 25, 2011

Post build event for installing assemblies to the GAC

There are numerous articles and postings which provide details on how to create a post-build event for Visual Studio to install an assembly to the GAC (Global Assembly Cache):

http://geekswithblogs.net/sthomas/archive/2006/08/28/89593.aspx

http://geekswithblogs.net/dchestnutt/archive/2006/05/30/80113.aspx

If you want to know what to put in the Post Build Event for Visual Studio 2010, here it is:

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\gacutil" -u "$(TargetPath)"
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\gacutil" -i "$(TargetPath)"

No comments:

Post a Comment