Debugging w/ Attach to Process Starts ASP.NET Dev Server

前端 未结 3 983
囚心锁ツ
囚心锁ツ 2021-02-19 05:11

I\'m developing an ASP.NET site off of my Windows XP IIS Installation, and whenever I tell visual studio to attach-to-process to the aspnet_wp.exe it starts a new instance of as

相关标签:
3条回答
  • 2021-02-19 05:27

    If you want to turn that off all you have to do is change the settings on the project file (using f4 to show the property grid). There is an option that says Always Start When Debugging, set that to false and you should be fine.

    0 讨论(0)
  • If you want to attach to the IIS worker process then you need to attach to w3wp.exe.

    0 讨论(0)
  • 2021-02-19 05:34

    If you right-click the web project and select Properties, there is a Web tab. On there you can select the Server to use when debugging, by default it is set to the Visual Studio Development Server. You probably want to use the Local IIS Web Server instead.

    0 讨论(0)
提交回复
热议问题