Possible problem detected while building assembly '<assemblyname>': <error>

The ALink tool, called by the Visual Basic compiler, reports an error building the assembly. Possible causes include the following:

  • A signed assembly making reference to an unsigned assembly. In this case, you should consider whether the referenced assembly satisfies your security criteria.

  • Building a 64-bit application on a 32-bit platform. In this case, you must ensure that 64-bit versions of all referenced assemblies are installed on the target platform. For a common language runtime (CLR) assembly, this is handled automatically, although this error message is still generated.

This message is a warning. The compiler is continuing to generate the assembly. For more information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.

Error ID: BC40010

To correct this error

  1. Examine the quoted error message and take appropriate action.

  2. Compile the program again to see if the error recurs.

  3. If the error recurs, reinstall the Visual Basic compiler.

  4. If the error persists after reinstallation, gather information about the circumstances and notify Microsoft Product Support Services.

See Also


Common Language Runtime Overview

Other Resources

Product Support and Accessibility