Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
priyamtheone opened this issue Feb 15, 2022 · 1 comment

Comments

@priyamtheone
Copy link

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.

@justcla
Copy link
Contributor

justcla commented Feb 15, 2022

Thanks for identifying the faulty extension and raising the issue. Hopefully someone will fix it for VS2022.

I note that PPT is no longer a single extension, but is a collection of smaller extensions that can each be installed separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants