How do I see which version of MVC is installed?

前端 未结 8 1635
一向
一向 2020-12-29 20:25

How can I tell which version of MVC (i.e. MVC 2 Beta, MVC 2 RC) is installed on my machine?

8条回答
  •  自闭症患者
    2020-12-29 20:36

    Simply looking in the Program Files(x86) isn't enough. If you've installed MVC5 for instance via NuGet, then you won't see a MVC5 folder under that folder. In my opinion, the most effective way of knowing which version of MVC you are using is to go to your VS project and look at the references under your main web application. Then find "System.Web.Mvc", right click, then click properties. You will see the version as a property. I tried to post an image of this but it won't allow me to do that; oh well, sorry I couldn't.

提交回复
热议问题