Adding dll to GAC . Failure adding assembly to the cache RRS feed

  • Question

  • When I add  the xxx.dll to  GAC,  like this : 

     C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>gacutil.exe -i "C:\Users\
    v-chewa\Documents\Visual Studio 2010\Projects\CallOutLookToSendMail\CallOutLookT

    And the question is appear :

     Failure adding assembly to the cache: Administrator permissions are needed to use the selected ptions.Use an administrator command prompt to complete these tasks.

    What should I do with this .please help me .

    Friday, June 25, 2010 7:20 AM


  • Are you on "Vista" if yes then Run the cmd as administrator, right-click the command-prompt and then choose "Run as Administrator"

    if not then make sure you are an Administrator on the box where you are deploying the assembly in the GAC.

    Vidya Vrat Agarwal. http://dotnetpassion.blogspot,com
    • Proposed as answer by Munir K Husseini Sunday, June 27, 2010 10:31 AM
    • Marked as answer by BurtHan Monday, June 28, 2010 5:07 AM
    Friday, June 25, 2010 6:52 PM