ASP > .NET articles: • "The type or namespace '' does not exist in the class or namespace '' (are you missing an assembly reference?)" error when building
|
Return to index of articles
"The type or namespace '' does not exist in the class or namespace '' (are you missing an assembly reference?)" error when building
Category: ASP
Category: .NET
Although this can be caused by a missing reference (right click on References in the Solution Explorer and add a reference) it is more often a problem with files being set to Read-Only. When building a solution or project, files will usually be copied to the BIN directory of the project. If the files in that directory are Read Only, the files can't be overwritten. Go to the BIN directory, select all the files, right-click and choose Properties, and uncheck the Read Only box.
5/22/2006
Source: Visit
|