简体   繁体   English

无法在Visual Studio 2012中查找System.Web.Hosting

[英]Cannot Find System.Web.Hosting in Visual Studio 2012

For your information, I am targeting .NET Framework 4.5 so there shouldn't be a client profile problem. 为了您的信息,我的目标是.NET Framework 4.5,因此不应该存在客户端配置文件问题。 But I still can't find it in the reference. 但我还是在参考文献中找不到它。

In references for your project, add a reference to System.Web 在项目的参考中,添加对System.Web的引用

添加参考

then in your program use: 然后在你的程序中使用:

using System.Web.Hosting;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM