Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Bot Framework, there is a missing subtype

I am trying to create a Bot application using ms bot framework. I followed the instructions here. When I try to create a bot application using create new project in VS 2017 it gives an error.

enter image description here

The project file cannot be opened.
There is a missing project subtype. Subtyle: '{349c5851-65df-11da-9384-00065b846f21}' is unsupported by this installation

I re-installed the vs 2017 twice but still, I am getting the error. 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."

Install-Package Microsoft.AspNet.Mvc -Version 5.2.4

enter image description here

like image 512
Roledenez Avatar asked Feb 13 '18 07:02

Roledenez


People also ask

Why is the messaging endpoint in the BOT framework not working?

The Messaging endpoint specified on the Settings page for your bot in the Bot Framework Portal does not begin with https or is not trusted by the Bot Framework. Your bot must have a valid, chain-trusted certificate. The bot is configured with missing or incorrect values for app ID or password.

What are some common issues with the BOT framework portal?

Common issues include: The Messaging endpoint specified on the Settings page for your bot in the Bot Framework Portal is incorrect. Make sure you have included the proper path at the end of the URL (e.g., /api/messages ).

How do I set up a bot with the BOT framework?

To complete all steps in this guide, you will need to download and use the Bot Framework Emulator and must have access to the bot's registration settings in the Azure portal. Bot security is configured by the Microsoft App ID and Microsoft App Password that you obtain when you register your bot with the Bot Framework.

Is it possible to disable security for the bot?

Security has not been disabled of for the bot. Verify that the bot does not specify a value for either app ID or password. In this step, you will verify that the app ID and password that your bot will use for authentication are valid.


1 Answers

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

You are missing an installation for VS for MVC5. Use the VS installer or nuget to install it and update it to MVC5.

Link to MVC5 pages: https://learn.microsoft.com/en-us/aspnet/mvc/mvc5,
Nuget: MVC5.2.4

like image 152
Patrick Artner Avatar answered Oct 07 '22 13:10

Patrick Artner