Closed KatoStoelen closed 2 years ago
I think this is a regression from #158, specifically adding the runtimes
to the nupkg.
More specifically, removing the tools/addins/Cake.Git.2.0.0/runtimes/win-x46
folder "fixes" the error. (When running on windows, that is...)
My feeling would be that having that dll twice in there throws off Cake.Bakery.
Could that be possible, @bjorkstromm ?
I think this is a regression from #158, specifically adding the
runtimes
to the nupkg.More specifically, removing the
tools/addins/Cake.Git.2.0.0/runtimes/win-x46
folder "fixes" the error. (When running on windows, that is...) My feeling would be that having that dll twice in there throws off Cake.Bakery. Could that be possible, @bjorkstromm ?
Cake.Bakery should ignore everything in runtimes/
folder as these are not needed during compilation. Today, that might not be the case, since it's sharing NuGet logic with Cake (which needs stuff under /runtimes
). Can we move this bug to Cake.Bakery
repo?
@bjorkstromm There already was an issue created in the bakery repository regarding this, and this issue was created afterwards. I would suggest closing this one and using the other.
@bjorkstromm There already was an issue created in the bakery repository regarding this, and this issue was created afterwards. I would suggest closing this one and using the other.
Wasn't it created in Cake-VSCode? E.g. this https://github.com/cake-build/cake-vscode/issues/614
Doh! Sorry, you are right! That one we can move to bakery repository.
@bjorkstromm I have moved the issue here: https://github.com/cake-build/bakery/issues/168
@bjorkstromm I have moved the issue here: https://github.com/cake-build/bakery/issues/168
Thanks @gep13! I'll go ahead and close this then.
Originally posted here: cake-build/cake-vscode#614
Having an addin directive for
Cake.Git
v2.0.0 in a.cake
file causes the following error when Omnisharp.Cake tries to load the file.Downgrading
Cake.Git
to 1.x.x solves the issue.