【问题标题】:Start action: Don't open page with .NET Core in Visual Studio 2017开始操作:不要在 Visual Studio 2017 中使用 .NET Core 打开页面
【发布时间】:2017-03-11 23:11:08
【问题描述】:
在带有 ASP.NET MVC 项目的 Visual Studio 2015 中,我们能够将启动操作设置为“不打开页面”:
对于 Visual Studio 2017 中的默认 .NET Core 项目,Web 选项卡不可用。当我运行我的站点时,我只想像以前一样运行 IIS Express。任何人都知道如何实现这一目标?
请注意,我确实已经关闭了新的 Chrome 调试选项(如下所示):
【问题讨论】:
标签:
.net-core
visual-studio-2017
asp.net-core-1.1
【解决方案1】:
对我来说,这是通过在属性下打开 launchSettings.json 并将 launchBrowser 设置为 false 来解决的。
【解决方案2】:
右键单击您的项目core 和properties 并取消选中Launch URL,保存并再次运行。