Visual Studio 2015无法启动IIS Express

编程入门 行业动态 更新时间:2024-10-19 18:20:25
本文介绍了Visual Studio 2015无法启动IIS Express的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我尝试在Visual Studio 2015中运行ASP.Net Core项目时,会出现Microsoft Visual Studio对话框项目不知道如何运行配置文件IIS Express。

When I am trying to run an ASP.Net Core project in Visual Studio 2015, a Microsoft Visual Studio dialog appears "The project doesn't know how to run the profile IIS Express".

有没有人知道这条消息,或者如何修复它?我搜索过谷歌和MSDN。构建日志或Windows事件日志中没有任何内容。

Does anyone know anything about this message, or how to fix it? I've searched Google and the MSDN. There's nothing in the build logs, or the Windows event log.

推荐答案

此对话框显示当我将一个项目从dotnet RC1迁移到RC2时,对我来说。

This dialog showed up for me when I had migrated a project from dotnet RC1 to RC2.

在修复之前我仍然可以使用 dotnet run 并从Visual Studio中选择IIS Express以外的配置文件。

Before the fix I could still run it using dotnet run and from Visual Studio choosing the profile other than "IIS Express".

我误读了这个指南并忘记 .Web

\ DNX \ Microsoft.DNX.targets - > \ DotNet.Web \ Microsoft.DotNet。 Web。目标

修复此问题并重新启动Visual Studio(不确定是否需要)后,我可以使用IIS Express配置文件运行项目。

After fixing this and restarting Visual Studio(not sure if needed) I could run the project using the IIS Express profile.

更多推荐

Visual Studio 2015无法启动IIS Express

本文发布于:2023-11-15 05:34:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1591601.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法启动   Studio   Visual   Express   IIS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!