简体   繁体   中英

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. But I still can't find it in the reference.

In references for your project, add a reference to System.Web

添加参考

then in your program use:

using System.Web.Hosting;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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