BanksySan
BanksySan

Reputation: 28500

How can I tell which version of MVC a Web Application\Site is?

As above... How could you find out, given the source code, what version of MVC an application is?

Upvotes: 0

Views: 135

Answers (2)

Andy T
Andy T

Reputation: 9881

According to this answer, you can programmatically get the version of the assembly with the following:

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

Upvotes: 1

Jace Rhea
Jace Rhea

Reputation: 5018

If you right click on the MVC reference in the web application and go to properties, there should be version property of the referenced MVC dll.

Upvotes: 1

Related Questions