GitTools / GitLink

Making .NET open source accessible!
MIT License
554 stars 86 forks source link

Am I missing something? #178

Open HristoHentov opened 7 years ago

HristoHentov commented 7 years ago

Hey. After reading a couple of previous issues, AND the readme file, I thought I will not have any problems with this tool, unfortunately thats not the case :(

I installed the "GitLink" NuGet package and enabled all source linking related options in the debug options.

I then installed Moq, Ninject, xUnit, NewtonsoftJson and GitLinkTestLib.

And the results? Well Moq and GitLinkTestLib worked. *** All the others failed. (by failed, I mean I didn't get any access to the source code)

My question is am I missing something.? Do some repos need additional setup not mentioned in the readme? What is that setup? How do I recognize the repos that might need that additional setup?

*** Fun fact about Moq. Moq downloaded its source code even without GitLink. Just enabling "Enable source link" in visual studio's debug options allowed me to do so. So what is GitLinks part then?

Also if this is not too much to ask - how do I setup my own projects (potentially nugets) to be compatible with GitLink.

I saw that GitLink is supposed to work with all git repo systems (inlucding BitBucket). Would getting the code from a Nuget, that has its code hosted on bitbucket require additional setup ?

I am running Visual Studio 2017, Windows x64 and all the code I am testing is inside a ConsoleApp(.Net framework) project.