Edit

Share via


MSB3217 diagnostic code

This article describes the MSB3217 error code.

Message text

MSB3217: Cannot register assembly 'assembly-name'.

Description

This error occurs in the RegisterAssembly task when, for any reason, the assembly could not be registered as a COM object. The error is followed by information from Windows with more details about the issue. See Registering assemblies with COM.

Resolution

This error occurs for a wide variety of causes that result in a failure to register an assembly. Registering a COM object requires that the account that runs MSBuild has admin permissions on the machine.

Applies to

All versions of MSBuild