简体   繁体   English

Microsoft Bot Framework,有一个缺少的子类型

[英]Microsoft Bot Framework, there is a missing subtype

I am trying to create a Bot application using ms bot framework. 我正在尝试使用ms bot框架创建一个Bot应用程序。 I followed the instructions here . 我按照这里的说明操作。 When I try to create a bot application using create new project in VS 2017 it gives an error. 当我尝试使用VS 2017中的创建新项目创建机器人应用程序时,它会出错。

在此输入图像描述

The project file cannot be opened. 无法打开项目文件。
There is a missing project subtype. 缺少项目子类型。 Subtyle: '{349c5851-65df-11da-9384-00065b846f21}' is unsupported by this installation 子模式:此安装不支持'{349c5851-65df-11da-9384-00065b846f21}'

I re-installed the vs 2017 twice but still, I am getting the error. 我重新安装了vs 2017两次,但是,我收到了错误。 Does anyone have an idea? 有没有人有想法?

UPDATED!!! 更新!!!

when I try to install MVC 5 using command but it gives an error saying that "The current environment doesn't have a solution open." 当我尝试使用命令安装MVC 5但是它给出了一个错误,说“当前环境没有解决方案打开”。

Install-Package Microsoft.AspNet.Mvc -Version 5.2.4

在此输入图像描述

See https://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs 请参阅https://www.codeproject.com/Reference/720512/List-of-Visual-Studio-Project-Type-GUIDs

You are missing an installation for VS for MVC5. 您缺少VS for MVC5的安装。 Use the VS installer or nuget to install it and update it to MVC5. 使用VS安装程序或nuget进行安装并将其更新到MVC5。

Link to MVC5 pages: https://docs.microsoft.com/en-us/aspnet/mvc/mvc5 , 链接到MVC5页面: https ://docs.microsoft.com/en-us/aspnet/mvc/mvc5,
Nuget: MVC5.2.4 Nuget: MVC5.2.4

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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