Error in project-level import '<qualifiedelementname>' at '<qualifiedcontainername>' : <errormessage>
A statement accesses a programming element that is defined in another assembly, but there is no project reference to that assembly.
For example, your code might be accessing an enumeration named desiredEnumeration using the qualification string otherNamespace.otherClass.desiredEnumeration. If the compiler cannot find otherNamespace.otherClass among your project's references, it generates this error.
Error ID: BC30797
To correct this error
Make sure every element in the qualification string of the programming element is spelled correctly.
Make sure your project has a reference to the assembly defining the desired programming element.
Consult the error message and take appropriate action.
See Also
Tasks
How to: Modify Project Properties and Configuration Settings
How to: Add or Remove References in Visual Studio (Visual Basic)
Concepts
Resolving a Reference When Multiple Variables Have the Same Name