none
Add References ended up with error(s) RRS feed

  • Question

  • Hi,

    I’m getting the below error when trying to add Reference to the VS Community 2017 project.


    I’ve tried applying the solution as I’ve found at few places while trying to get solution over google, pasting below, but my folder structure is quite different compare to the one given in solutions, i.e. C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE, and I could not find the file with the name ‘gacutil’ even I’ve run command prompt with ‘dir gacutil*.* /s’ in my drive.

    Thank you for help in advance.

     “1.Launch Developer Command Prompt for VS 2017

    2.CD C:\Program Files\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies

    3.Run gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll

    You should now see Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.0 Copyright (c) Microsoft Corporation.  All rights reserved.

    Assembly successfully added to the cache

    Restart Visual Studio and hopefully all will be well and you can add references.”

    Found at: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/4eea5785-0a83-4389-89e3-209a5a4432c0/referencemanagerpackage-fails-to-install-vs-2017-community-edition?forum=vssetup

     

    Sunday, February 25, 2018 5:53 AM

All replies

  • Hi,

    Welcome to MSDN forum.

    >>but my folder structure is quite different compare to the one given in solutions, i.e. C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE, and I could not find the file with the name ‘gacutil’

    Microsoft visual studio 11.0 is visual studio 2012, please go to C:\Program Files (x86)\Microsoft Visual Studio\2017\community\Common7\IDE\PublicAssemblies.

    • Open Visual Studio Command Prompt as administrator
    • Go to the path of your visual studio installation, standard is: C:\Program Files (x86)\Microsoft Visual Studio\2017\community\Common7\IDE\PublicAssemblies
    • Run command gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, February 26, 2018 6:58 AM
  • Thank You very much Sir, after Many Hours spent i Have got Solutions  from You....Thanks.

    Wednesday, August 29, 2018 8:53 AM