Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Construct makes an indirect reference to assembly '<assemblyname>', which contains <typename>. Add a file reference to <filename> to your project.
An expression uses a type, such as a class, structure, interface, enumeration, or delegate, but your assembly does not have a project reference to the assembly that defines the type.
Error ID: BC31528
To correct this error
- In your project properties, add a reference to the file that contains the assembly that defines the type you are using.
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