Skip to content

Copy As Html stops copy and cut operation in Visual Studio 2017 and 2019. #259

@priyamtheone

Description

@priyamtheone

After installing Productivity Power Tools 2017/2019 extension, I can't use the copy operation. The first time I try to copy a line or block of code after installing the extension, Visual Studio generates an error saying:

"Type library exporter encountered an error while processing 'CopyAsHtml.CopyAsHtmlPackage, CopyAsHtml'. Error: Type library exporter encountered an error while processing 'Microsoft.VisualStudio.Shell.Interop.SVsSolutionObject, Microsoft.VisualStudio.Shell.Interop'. Error: Type 'SVsSolutionObject' and type 'SVsSolution' both have the sameUUID."

Next time onwards, whenever I try to copy, Visual Studio generates the error saying:

"Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))"

When I uninstall Productivity Power Tools 2017/2019, there's no error and I can copy and cut everything properly. Delving more into the issue, I came across the fact that the sub-component, named Copy As Html, installed as part of the Productivity Power tool is causing the problem. Disabling or uninstalling the sub-component stops the error from occurring as per my observation. Though, I don't know what other essential operation is deactivated with the disabling of Copy As Html.

This issue should be looked into.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions