I am using Visual Studio 2013 for my Windows Phone App Development. I have to use
System.Web.UI.Page
in my code, but when I try to include it with:
using System.Web.UI;
It gives this error: The type or namespace name Web doesnot exist in namespace System
When I search for it in Object Browser, its there. How can I use it?
In your project, you need to add a reference to the System.Web
assembly which is located under:
C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Web
Also make sure you are targeting the full .NET Framework 4.0, not the Client Profile, as it does not contain the System.Web
namespace.
您必须将程序集System.Web
添加到您的项目引用中。
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.