Why is System.Web.Mvc not listed in Add References?

后端 未结 14 2550
日久生厌
日久生厌 2020-12-12 23:25

Using C#, Visual Studio 2010.

There is a namespace called System.Web.Mvc documented on MSDN. The documentation for all the types in that namespace says that they are

相关标签:
14条回答
  • 2020-12-13 00:01

    In VS Express 2012 I couldn't find System.Web.Mvc in the "assemblies" tab, but after a bit of searching I found out that I need to look into "assemblies\extensions" tab rather than the default "assemblies\framework" tab.

    0 讨论(0)
  • 2020-12-13 00:01

    The desired assembly has appeared in the list now.

    I can only speculate what caused it to appear, but I suspect it is the fact that I went FileNewProjectASP.NET Web Application, which I had never done before. It is possible that this caused some sort of late initialisation to happen and the list to be populated with additional assemblies for Web development.

    0 讨论(0)
提交回复
热议问题