GitLink icon indicating copy to clipboard operation
GitLink copied to clipboard

NuGet package questions

Open tpluscode opened this issue 11 years ago • 4 comments

First, in issue #44 I mentioned that it's not possible to install the package in projects targeting .NET 4.0 and earlier. Looking at the package I realized that it actually adds a reference to the project where it's installed.

Is that really necessary? I figure that GitLink is more related to the general build process and as such I think that the exe could be directly in the content. To actually use it's necessary to add a call to the build script manually anyway.

tpluscode avatar Nov 11 '14 19:11 tpluscode

Completely missed this one, sorry.

GeertvanHorrik avatar Dec 04 '14 19:12 GeertvanHorrik

GitLink can be used in 2 ways: as library (you can automate it) or as tool. Mostly the tool will be executed on build agents, so that's why I put it both on NuGet and Chocolatey. What are the alternatives.

GeertvanHorrik avatar Dec 04 '14 19:12 GeertvanHorrik

I was just saying that GitLink being in the lib folder in the nupkg makes NuGet package manager add a reference to a project. I think that gitlink would rarely be used programmatically.

tpluscode avatar Dec 04 '14 20:12 tpluscode

Agree. How would you change this. To add it as a tool? Interested in doing a PR for this?

GeertvanHorrik avatar Feb 17 '15 18:02 GeertvanHorrik