When I'm editing views or other non-dll files, I can press CTRL + ; + P
to publish that file to the web-server. However, it doesn't work for controllers, probably because they will be compiled into a dll file.
Is there any way to compile and publish just the dll file and avoid the long delay of publishing the whole project?
EDIT
Thanks to Sarvjeet, I know that I can build the project and copy the dll file, I can also script this in post-build event of the project like this:
copy "$(TargetPath)" "C:\inetpub\wwwroot\bin\$(TargetFileName)"
I was hoping for a better way, that lets me use the short-key, CTRL + ; + P
, and takes publishing profile into account.
Copy compiled DLL and pasted it to deployed folder. You don't need to deploy whole project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With