Posted on 6:23 AM by Softminer and filed under

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.
Responses to ... How to copy complied DLL to released version by post-build event command line