visual studio – Use single files from private repo in public repo


I have a Visual Studio project in a GitHub repo which 2 people also work on.
For some functions in the solution I use files – currently single files – from another repo which is private for me, the files are just linked in and not copied.

What is the best solution to make the shared project work for the other team members?
I could do a private project for all my shared files which generates a DLL which is then copied to the public repo as reference, but is there a more elegant way?
If I include all my common files in this DLL, there will be a lot of references also to NuGet packages which might not be used as I only is a small function subset of my function in the public project.

Leave a Reply

Your email address will not be published. Required fields are marked *