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?

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.