Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Get the project type of MVC 6 project

$
0
0
I'm using a context menu for MVC projects. I'm using <ProjectTypeGuids> value of the project to enable the add-in. For MVC3,MVC4 and MVC5 its working fine. But MVC 6 (ASP.NET 5) project doesnt have <ProjectTypeGuids> value in the project file (.xproj) and also I cant get the <ProjectTypeGuids> value using the method GetAggregateProjectTypeGuids() which can be used for older MVC projects. Is there any other way to find the project type? I need to find whether the project is MVC6 or not to change the add-in visibility.

Viewing all articles
Browse latest Browse all 4410

Trending Articles