When creating projects that contain dlls which need deploying to the GAC.
use the following Post Build Event on your Visual Studio project:
xcopy $(TargetPath) $(ProjectDir)\GAC\ /I /R /Y
This will copy your dll output from the bin directory into a folder in your project called GAC, the great thing about this is if you switch the Configuration of your project between Debug/Release builds it will update the GAC folder making it easier to deploy.
Friday, 12 June 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment