How to determine the current version of ASP.NET MVC?

Solution 1:

  1. Go to your References folder
  2. Look for System.Web.Mvc
  3. Right Click on it
  4. Click Properties
  5. Look at the Version property.

This is most likely your version but the GAC may play a role in messing you around.

Solution 2:

Via Reflection:

typeof (Controller).Assembly.GetName().Version

Solution 3:

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"