Edit

Share via


MSB3212 diagnostic code

This article describes the MSB3212 error code.

Message text

MSB3212: The assembly 'assembly-name' could not be converted to a type library.

Description

This error occurs when executing the RegisterAssembly task in the process of creating a type library when registering a .NET Framework assembly for use as a COM object. This error message is usually followed by text from an underlying tool such as TlbExp.exe or from the Windows API that gives details of the error that occurred.

Resolution

Look to the second error message for the cause of the problem and guidance on how to fix it.

Applies to

All versions of MSBuild