When I edit views or other files other than a DLL, I can press CTRL + ; + P CTRL + ; + P to publish this file to the web server. However, this does not work for controllers, perhaps because they will be compiled into a DLL file.
Is there a way to compile and publish only the dll file and avoid the big delay in publishing the whole project?
EDIT
Thanks to Sarvjeet, I know that I can build a project and copy the DLL file, I can also script this in the event after building the project as follows:
copy "$(TargetPath)" "C:\inetpub\wwwroot\bin\$(TargetFileName)"
I was hoping for a better way that allows me to use the short key, CTRL + ; + P CTRL + ; + P , and takes into account the publication profile.
source share