locked
Failure adding assembly to cache RRS feed

  • Question

  • Hello,
      I'm new to .net. While executing gacutil.exe -i ClassLibrary1.dll command it was showin an error like this,

    Failure adding assembly to the cache : the system cannot find the file specified

    Please solve this problem.
    Tuesday, December 29, 2009 6:32 AM

Answers

  • Hi,

    We may need to supply full name of target assembly, something like this:

    gacutil /i D:\myproject\myassembly.dll  

    the assembly must be strong-named.


    Sincerely,
    Eric

    Please remember to mark helpful replies as answers.
    • Marked as answer by eryang Monday, January 4, 2010 3:53 AM
    Wednesday, December 30, 2009 3:02 AM

All replies

  • Stupid question probably but did the file actually exist in the folder you executed gactuil in?
    Tuesday, December 29, 2009 9:07 AM
  • Hi,

    We may need to supply full name of target assembly, something like this:

    gacutil /i D:\myproject\myassembly.dll  

    the assembly must be strong-named.


    Sincerely,
    Eric

    Please remember to mark helpful replies as answers.
    • Marked as answer by eryang Monday, January 4, 2010 3:53 AM
    Wednesday, December 30, 2009 3:02 AM