本地调试2个项目
Debugging 2 projects locally
我有一个 Visual Studio 解决方案,它有一个主 Web 项目和另一个辅助项目,它是主下的一个应用程序。
解决方案 运行 在发布到 IIS 时在生产中很好,但我在尝试本地调试时遇到问题。
两者都在 Visual studio 到 运行 中设置在本地主机下的不同端口上。
我可以在调试模式下启动主 Web 应用程序,但如何启动另一个应用程序以便调试整个解决方案?
谢谢!
I can start the main web app in debug mode, but how do I start the other app so I can debug the whole solution?
为此,您可以在属性页面上select 多个启动项目,请转到解决方案->属性->启动项目:
希望对您有所帮助。
我有一个 Visual Studio 解决方案,它有一个主 Web 项目和另一个辅助项目,它是主下的一个应用程序。
解决方案 运行 在发布到 IIS 时在生产中很好,但我在尝试本地调试时遇到问题。
两者都在 Visual studio 到 运行 中设置在本地主机下的不同端口上。
我可以在调试模式下启动主 Web 应用程序,但如何启动另一个应用程序以便调试整个解决方案?
谢谢!
I can start the main web app in debug mode, but how do I start the other app so I can debug the whole solution?
为此,您可以在属性页面上select 多个启动项目,请转到解决方案->属性->启动项目:
希望对您有所帮助。