简体   繁体   English

F5不适用于Visual Studio 2017 RC中的VS2015 ASP.NET项目

[英]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)不起作用: 在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. 如果我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.

相关问题 Microsoft ASP.NET 和 Web 工具 VS2015 更新工具不会检测到 Visual Studio 2015,尽管它已安装 - Microsoft ASP.NET and Web Tools VS2015 update tool won't detect Visual Studio 2015 although it is installed 如果网站创建为 Visual C# ASP.Net Web 应用程序在 VS2015 中,PageMethods 不起作用 - PageMethods not working if the website is created as a Visual C# ASP.Net Web Application in VS2015 ASP.Net MVC-5 / EF-6 sln在Visual Studio 2015中工作,在VS 2017中失败 - ASP.Net MVC-5/EF-6 sln works in Visual Studio 2015, fails in VS 2017 vs2015中ASP.NET Core RC2的Web开发工具 - Web Development Tools for ASP.NET Core RC2 in vs2015 在Visual Studio 2017上添加asp.net项目时遇到问题 - Having trouble adding asp.net projects on Visual Studio 2017 如何在安装vs2015之后在vs2015上安装Asp.Net? - How can I install Asp.Net on vs2015 after already installing vs2015 ? 在 ASP.NET 5/VS2015 中遇到 DNX 参考问题 - Stuck with DNX reference issue in ASP.NET 5/VS2015 无法使用VS2015 RTM在ASP.NET 5项目上还原nuget程序包 - Can't restore nuget packages on ASP.NET 5 project with VS2015 RTM 为什么我不能将我的ASP.Net项目从VS2015发布到Azure - Why can't I publish my ASP.Net project from VS2015 to Azure 上下文菜单不包含Scaffolding VS2015 ASP.NET 5 - Context menu doesn't contain Scaffolding VS2015 ASP.NET 5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM