I am trying to change the name of the DLL file I had specified for my application before compiling it. When I change the DLL file name I get the error message like:

System.IO.FileNotFoundException: Could not load file or assembly 'MyDLLName'

Is there any way to change the DLL I had specified through .NET Reflector + Reflexil add-in?

  • 1
    Okay, I'll ask the blatantly obvious. Why not simply recompile?
    – Jongware
    Jul 24, 2015 at 13:25
  • @Jongware Because I have lost the source code! Please don't ask me to rewrite the program!!!
    – FreeMind
    Jul 24, 2015 at 18:41
  • @FreeMind The next time, consider using source control and some code hosting.
    – svick
    Jul 24, 2015 at 19:25
  • Well, you seem to think that Reflexil might do it. Have you tried it? How did it fail?
    – svick
    Jul 24, 2015 at 19:28
  • @svick I just do not know how to change the name of the imported DLL file in Reflexil.
    – FreeMind
    Jul 25, 2015 at 17:15

1 Answer 1


Due to the fact that there was no answer to the question posed for so long, I decided to add it:



reflector and

reflexil, active fork

to change this

Full answer:



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.