Click here to Skip to main content
15,917,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I just want to ask simple question , I downloaded Nini.dll file from internet and I give its reference to my project . Now its working perfect in my project but now I want to install my project in another PC . So is this file working in another system as well ?

Please answer me as soon as possible ,
Thanks everyone!
Posted

1 solution

Yes, you are going to submit the dll along with the package. The dll won't be embedded in the executable by default, because it would sincerely kill the purpose of "Dynamic-link library[^]". They are linked to your executable dynamically, that is why they need to be available otherwise your application would terminate "unexpectedly".

When you create the package for your project, Visual Studio would automatically set up everything for you. Third-party DLLs would be added to the package (not the executable!) and user needs to have them on the same folder that the executable is present. .NET also has DLLs, but you do not transfer those DLLs because .NET framework expects the client to have framework installed. Once framework is installed, DLLs are already available, so sending them along with the package won't make any sense. But, third-party libraries may or may not be available, that is why, system would parcel them with the executable.

Please read the documentation resource provided above for DLL to learn more about using the DLLs.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 24-Oct-15 6:17am    
You answered the main question, but "Visual Studio would automatically package" is somewhat wrong. What "Visual Studio" do you mean? Newer version doesn't include and Setup projects, for a very good reason. The project type you are probably referring to is obsolete, deprecated and never was a decent member of VS project types. As far as I know, the only really legitimate toolbox is open-source WiX. (Voted 4 this time.)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900