A
A
Abc Edc2016-06-03 10:53:53
WPF
Abc Edc, 2016-06-03 10:53:53

How to add downloaded library to C# solution?

I downloaded a library that is not in nuget, added a link to it but a link to my computer, etc., how to add a library to a feng shui solution so that it gets into git and the link is to the path inside the solution

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kronic, 2016-06-03
@gleber1

I usually make the Library folder on the same level as sln. In the project file, after adding the library, it should be

<Reference Include="CustomLibrary">
  <HintPath>..\Library\CustomLibrary.dll</HintPath>
</Reference>

This can be safely uploaded to git

R
Rou1997, 2016-06-03
@Rou1997

Place the library in bin\Debug or bin\Release, where it should be, and add a link from there.
So Xamarin or WPF?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question