Skip to content
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

Failed to install addin Cake.ClickTwice #9

Open
gmkado opened this issue Feb 26, 2021 · 2 comments
Open

Failed to install addin Cake.ClickTwice #9

gmkado opened this issue Feb 26, 2021 · 2 comments

Comments

@gmkado
Copy link

gmkado commented Feb 26, 2021

Using .NET framework 4.7.2 on a WPF project

build.cake preprocessor directive:

#addin nuget:?package=Cake.ClickTwice&version=0.1.1

and get this error:

Error: Failed to install addin 'Cake.ClickTwice'.

The diagnostics logs weren't particularly helpful but I'll put them here anyways:

Error: Cake.Core.CakeException: Failed to install addin 'Cake.ClickTwice'.
   at Cake.Core.Scripting.ScriptProcessor.InstallAddins(IReadOnlyCollection`1 addins, DirectoryPath installPath) in C:\projects\cake\src\Cake.Core\Scripting\ScriptProcessor.cs:line 109        
   at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath) in C:\projects\cake\src\Cake.Core\Scripting\ScriptRunner.cs:line 106
   at Cake.Features.Building.BuildFeature.RunCore(IRemainingArguments arguments, BuildFeatureSettings settings) in C:\projects\cake\src\Cake\Features\Building\BuildFeature.cs:line 99
   at Cake.Features.Building.BuildFeature.Run(IRemainingArguments arguments, BuildFeatureSettings settings) in C:\projects\cake\src\Cake\Features\Building\BuildFeature.cs:line 49
   at Cake.Commands.DefaultCommand.Execute(CommandContext context, DefaultCommandSettings settings) in C:\projects\cake\src\Cake\Commands\DefaultCommand.cs:line 72

I also tried using the pre-release version, same thing happened. I noticed the last supported version on the cake documentation is pretty old:
Supported Cake Versions
Versions: 0.19.5 - 0.21.1

Is this project no longer being maintained?

@Jackhammer88
Copy link

I also have this issue. Is there any solution?

@leszekrogowski
Copy link

I've updated the project to work with Cake 2.0.0. It's available under my fork. Unfortunately, we'd need to build the packages on your own and put them on your private NuGet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants