Tuesday, May 15, 2012

How to copy complied DLL to released version by post-build event command line


Click on the project and choose properties , then on the Build Events run following command on Post-Build event command line:

copy /y "c:\Project\bin\Project.dll" "C:\inetpub\wwwroot\bin\"

PS: you have to run visual studio as administrator to have copy privilege.

No comments:

Post a Comment