GitTools / GitLink

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

2.4.1 - 3.0.0 cli changes? #169

Open dazinator opened 7 years ago

dazinator commented 7 years ago

Build of gittools core just kicked off, and its pulling in version 3.0.0 of gitlink, last successful build was pulling in 2.4.1.

The build using 3.0.0 fails with:


gitlink . -u https://github.com/gittools/gittools.core -b %APPVEYOR_REPO_BRANCH% -s %APPVEYOR_REPO_COMMIT% -f %path_to_sln%
error: File not found: "."
Command exited with code 

May I ask, is this a simple fix that needs to be made to make it work with 3.0.0 and what the new CLI looks like? Otherwise I'll just look to pin the build to 2.4.1 for now.

Thanks

GeertvanHorrik commented 7 years ago

Instead of passing in the solution, it now requires the pdb instead. But you can also integrate directly into msbuild by installing the version from NuGet. Then it should "auto-work".

dazinator commented 7 years ago

For the msbuild task, sadly, we'd need #168 first, as the travis build runs on linux, and we use the dotnet cli tooling in order to build. Think for now I'll pin it back to 2.4.1.

GeertvanHorrik commented 7 years ago

Then indeed stick to 2.4.1 for now.