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

前端 未结 7 1971
北荒
北荒 2021-01-30 09:56

Is there a way to get the current version of ASP.NET MVC in code? Reflecting on MVC assemblies is needed? Any new IIS server variables? Some property to read in HTTP context?

7条回答
  •  再見小時候
    2021-01-30 10:33

    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.

提交回复
热议问题