Author: penxou | Posted on: 12/3/2010 11:43:09 AM | Views : 846

I'm using ASP.NET4.0, and getting the following compilation error:
CS0234: The type or namespace name 'Documents' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)

Source Error:


Line 20: using System.Web.UI.HtmlControls; Line 21: using System.Security.Principal; Line 22: using System.Windows.Documents; Line 23: Line 24: /// <summary> ///
Source File: c:\Documents and Settings\stilwell\Desktop\DEV40-1\App_Code\LoadForm.cs    Line: 2

C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0> "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\WINDO ...

Go to the complete details ...