New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Cake CoreCLR #365
Comments
@japj Can you help here? |
@japj Any ideas? At the moment, the cake plugin actually references a project that dual targets net461 and netcoreapp2.0 but I want to update that to netcoreapp2.1 and net472. The cake plugin targets netstandard2.0 which is a misnomer since in fact we can't target netstandard2.0 due to the dependency on platform-specific code. Is there a way for the Cake plugin to properly support .NET Core given our dependency on native binaries? |
@AArnott I’m not entirely sure, but I think the important part to remember here is that the nbgv nuget package is a tools/MSBuild nuget. I have no experience with cake and addins. Perhaps there is some documentation that can help understand how that exactly works? |
Ah, I thought you might be the Cake guy. :) |
@gep13 any ideas? |
Trying to use Cake.Gitversioning with Cake.CoreCLR with a .cake file like:
results in the following error:
A workaround for this is to manually copy the platform-specific
git2-572e4d8.dll
file fromtools\Addins\Cake.GitVersioning.2.3.183\lib\netstandard2.0\lib\win32\x64\git2-572e4d8.dll
intotools\Addins\Cake.GitVersioning.2.3.183\lib\netstandard2.0\lib
(eg. the same directory as LibGit2Sharp.dll)Not sure if there's a better way to deal with this - but noting it here in case anyone else has the same problem.
The text was updated successfully, but these errors were encountered: