'Adding local dependenies in C# without absolute path

My current specialization is TypeScript/NodeJS, but I know what each popular language has the package management including referencing to local dependency.

What the equivalent of package.json for the ProjectName.csproj of a C# project?

{
    dependencies: {
        "local-one": "../foo/bar"
    }
}

For this question, it is important to not use the absolute paths because these paths will become unactual once other team members will clone the repository on his local computes while relative paths could be actual in mono repositories.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source