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

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

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

Answer: via Reflection:

<code>typeof (Controller).Assembly.GetName().Version </code>

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

Categories: ASP.NET MVC Tags:
  1. No comments yet.

*