Search code examples
c#referenceopen-sourceproject

c# How to add a reference from source code to my project


Hi I have a simple question, which i can not answer by myself. There is a project on codeplex:

https://triangle.codeplex.com/releases/view/97021

I downloaded the sourcecode and expected there to be an .dll i can add as a resource reference to my own own project. However it seems like it is all still source code with a lot of classes and stuff.

How can I connect this code to my own project, so that I can use the classes with something like:

using TriangleNet.Geometry;

UseMethodXYZ(values);

Solution

  • Add a library project with the downloaded code to your solution. Then reference it in your own project, and voilà !

    Otherwise build the downloaded code as library project and reference the built dll in your own project.