Is there a way to get the current version of ASP.NET MVC in code? Reflecting on MVC assemblies is needed? Any new IIS server variables? Some property to read in HTTP context?
Open the packages.config in your solution explorer..
Then look for ASP.NET MVC package ID, as follows:
id="Microsoft.AspNet.Mvc" version="5.2.2" targetFramework="net452"