Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm using a context menu for MVC projects. I'm using 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 value in the project file (.xproj) and also I cant get the 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.
Posted

1 solution

Hello,

Have you checked this?

http://www.asp.net/vnext/overview/aspnet-vnext/create-a-web-api-with-mvc-6[^]

Maybe this can help you with your issue.

Best Regards!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900