How to identify the MVC version?

5

How can I identify the MVC version I'm using in my project?

    
asked by anonymous 09.05.2017 / 01:55

2 answers

5
  • With your project open, Expand% with%.
  • Right click on References .
  • Click% with%.
  • Check the version in System.Web.Mvc , as shown in the image below:
  • QuestionaddedtoSOptasasearchsourcebased in this question of the OS.

        
    09.05.2017 / 01:55
    5

    As it was not specified whether it is in code or not, it goes by the code:

    typeof (Controller).Assembly.GetName().Version
    
        
    10.05.2017 / 15:34