[英]The F5 isn't working for VS2015 ASP.NET projects in Visual Studio 2017 RC
I've installed recently announced Visual Studio 2017 RC and found out, that in old (VS2015) ASP.NET projects the Debug->Run
(F5) isn't working: 我已经安装了最近发布的Visual Studio 2017 RC并发现,在旧的(VS2015)ASP.NET项目中,
Debug->Run
(F5)不起作用: But from project's contextual menu it is starting as expected:
但是从项目的上下文菜单开始,它按预期开始:
If I File->New->Project->ASP.NET Web Application
then all is working as always. 如果我
File->New->Project->ASP.NET Web Application
那么一切都在工作。
Any thoughts on what causing this behaviour? 有关导致此行为的原因的任何想法?
EDIT: Tried Visual Studio Community 2017 RC - the same behaviour. 编辑:尝试Visual Studio社区2017 RC - 相同的行为。
Visual Studio 2017 RC has updated the .csproj file of my web project with this: Visual Studio 2017 RC使用以下方法更新了我的Web项目的.csproj文件:
<servers defaultServer="SelfHostServer">
<server name="SelfHostServer" exePath="" cmdArgs="" url="http://localhost:51775/" workingDir="" />
</servers>
I don't know why this happened, but deleting that solved my problem. 我不知道为什么会这样,但删除它解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.