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

后端 未结 14 2612
日久生厌
日久生厌 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

    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.

提交回复
热议问题