CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    90

    Question Productivity Power Tools 2017/2019 extension stops copy operation in Visual Studio.

    I'm using Visual Studio 2017. 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 message and I can copy everything properly. It seems, the problem is with the extension. So, is there a way to fix the problem so that I can use Productivity Power Tools 2017/2019 and not encounter the problem at the same time? Or shall I have to give up using Productivity Power Tools 2017/2019 entirely and continue Visual Studio without it?

    Regards

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,822

    Re: Productivity Power Tools 2017/2019 extension stops copy operation in Visual Studi

    VS2017 is no longer supported. The current version is VS2022. Why not upgrade to a supported version?

    Have you tried repair before the extension installation in case there's a problem with VS?
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  3. #3
    Join Date
    Sep 2008
    Posts
    90

    Resolved Re: Productivity Power Tools 2017/2019 extension stops copy operation in Visual Studi

    Delving deep into the issue brings across the fact that a sub-component of the Productivity Power Tool extension, named Copy As Html, is breaking the copy/cut operation. Disabling/uninstalling the sub-component solves the problem as per my observation. Though, I'm not sure what other essential operation is deactivated by the disabling of the sub-component.

    Got to Tools > Extensions and Update and select the Installed node on the left panel. In the list of extensions in the middle, scroll down to Copy As Html and disable or uninstall it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured