简体   繁体   中英

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中,旧的ASP.NET项目中的“开始”(F5)菜单不起作用 But from project's contextual menu it is starting as expected: ASP.NET项目上下文菜单

If I File->New->Project->ASP.NET Web Application then all is working as always.

Any thoughts on what causing this behaviour?

EDIT: Tried Visual Studio Community 2017 RC - the same behaviour.

Visual Studio 2017 RC has updated the .csproj file of my web project with this:

<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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM