Ubikuity.net Web application developer

11 September 2012

Which version of ASP.NET MVC is used in an existing Visual Studio project

Filed under: ASP.NET MVC — John Ubikuity @ 0:06

Question: how to find which version of ASP.NET MVC is used in an existing Visual Studio project?

Answer: via Reflection:

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

Source: http://stackoverflow.com/questions/3008704/how-to-determine-the-current-version-of-asp-net-mvc

Powered by WordPress