Project '<projectname>' requires a reference to version '<versionnumber1>' of assembly '<assemblyname>', but references version '<versionnumber2>' of assembly '<assemblyname>' (Visual Basic Warning)
Project '<projectname>' requires a reference to version '<versionnumber1>' of assembly '<assemblyname>', but references version '<versionnumber2>' of assembly '<assemblyname>'. Reference to version '<versionnumber1>' emitted.
A project makes an indirect reference to an assembly that is defined elsewhere, but the project also has a direct reference to an earlier version of that assembly.
To accommodate access to types and programming elements defined in the later version but not in the earlier version, the compiler uses the indirect reference to the later version when resolving accesses.
By default, this message is a warning. For information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.
Error ID: BC42203
To correct this error
- Remove the direct reference to the earlier version of the assembly, or change it to refer to the later version.
See Also
Tasks
How to: Add or Remove References in Visual Studio (Visual Basic)