.net assembly - Use third party code in C# -


i use following code in program (http://sshnet.codeplex.com/)sftp

i downloaded , put same folder c# project is. aslo added code:

using renci.sshnet; using renci.sshnet.sftp; 

now need tell visual studio it. tried "add reference", downloaded contains files extension .cs no .dll.

what do next?

i read couple of books c# (by troelsen , michaelis), assebly business not clear me.

instead of downloading source (the link entitled sshsource), try binary link (either 4.0 or 3.5, depending on .net clr version targeting).

the binary links provide dlls. then, can use add reference link dll in project.

binary distributions 3rd-party projects make available use. these versioned project , stabilized before large public release. these distributions give stable component use.

the source distribution provides source files. can use/modify source (depending on license), however, requires compile before use.

nuget great way use , manage packages .net. ssh.net has nuget package. if use nuget, preferred way consume binary distribution.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -