COM Interop unregistration failed
A problem occurred when trying to unregister an old copy of the assembly.
If the Register for COM Interop property is set, the project system will attempt to first unregister an old copy of the COM object before registering the copy that was just built. This is done to keep the registry current.
See the Build property page in the Configuration Properties folder to access the Register for COM Interop property.
Some possible reasons for failure include:
- Inability to unregister the previous type library for the assembly. This could be a permissions problem in the registry.
- Inability to unregister the old assembly. This could be a permissions problem in the registry as well.
If the unregistration process fails, a leak of the GUID for CoCreatable objects may occur, as well as for any type library GUIDs. However, the overall build process will still succeed.
Build, Configuration Properties, <Projectname> Property Pages Dialog Box (Visual Basic) | Build, Configuration Properties, <Projectname> Property Pages Dialog Box (Visual C#) | COM Interoperability in Visual Basic and Visual C#