Error Message

I have create a dll name "Special".

At the C# IDE, i able to add the special.dll file to my reference.

But, when i running the C# program, It come out with below error message

Could not load file or assembly 'Special, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Did you know what message is it

How's to solve it



Answer this question

Error Message

  • e1v

    Sorry, i do not understand what you means by assemblies. Can make it more clear


  • Stuart Carnie

    Glad to help.

    Copy Local property specifies whether to automatically copy the referenced assembly to the target location during a build.

    For some reason that property was false for your Special.dll, and hence when you ran the application it did not copy Sepcial.dll to the output directory of 2nd project and you got that error.


  • The Joshinator

    Thanks You. Yogesh ..

    I solve the problem. I have one question what the Copy Local property means


  • Jcarant

    Which assemblies are you referencing in Special assembly's project
  • Paulus178178

    These are standard ones they wouldn't be generating that error message. In the 2nd project, select the reference to Special.dll, and in the properties window ensure Copy Local property is set to true. Then compile and run your 2nd project again.
  • Algorimancer

    You said you created Special.dll right In the project where you created Special.dll, what are the files listed under its references.
  • DF WOSC

    Yup. I had created Special.dll. I had other references such as System, System.Data and System.XML come together at this project.


  • Error Message