Connecting to Visual Studio debugging IIS Express server over the lan

前端 未结 10 973
慢半拍i
慢半拍i 2020-11-27 10:19

I have a test ASP.NET MVC3 application developed in VS2012. When I start debugging the app is accessed from the host machine via the request to http://localhost:

10条回答
  •  北海茫月
    2020-11-27 10:56

    This is what worked for me:

    • Start the IIS Manager
    • Add a new virtual directory that points to the projects folder (C:\VSProjects in my case)
    • Select the new virtual directory within IIS manager. Select Directory Browsing from the list of options. On the right side there's a Enable button. Click it.

    Now I can access my folder and project bin on the network through mypcname\VSProjects\myProj\outputBinViewer.

提交回复
热议问题