Broken links in cloned git repository

Many times when I clone a git repository most or all of the links are broken. DLL does not exist. I searched and didn't find anything about the problem. I feel like it has something to do with nuget.

What is the problem?

+3


source to share


2 answers


There will be a folder in the repo .nuget

and it will contain nuget.exe

. Some repos include a script that will do the job of restoring missing packages. But you can also do it manually by issuing the following command for nuget:



nuget restore "path\to\.sln"

      

+2


source


DLLs no longer exist because they are being ignored: you must have a .gitignpre with * .dll.



This means you have to run nuget to load the correct dependencies (dlls): this is a declarative approach, which means that you are only using the nuget file (very small) instead of the dll (much larger).

+1


source







All Articles