How can I set up remote deploy + debugging in VS2017 using a net core app which targets net framework?
I have the remote tools installed and working on my target device. I can connect to it and debug remote applications.
I have a build configuration set to build my application to a remote share on my target machine.
How can I get VS to launch this on the remote machine then attach debugger?
Head to this page: https://www.visualstudio.com/downloads/
Find the Tools for Visual Studio 2017 section downloads and download the Remote Tools for Visual Studio 2017 version for your server
After installation completes, launch Visual Studio 2017 Remote Debugger and configure port for it, you also need to configure your endpoints to your server.
Next step, go to your computer(Visual Studio 2017), On Debug Menu, click to attach the debugger to process. Enter your server and port (server.com:port) and refresh the list of process, it will require user and password, mark Show process from all users. Find w3wp.exe and attach to it.
More Complete information: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging
New download-links (VS 2017 download no longer available on visualstudio.com):
Overview of all VS downloads: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019
Direct download of VS 2017 Remote Tool (require MS login): https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202017
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.