Skip to content

Can't install dependencies to build a project #4116

@catap

Description

@catap

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

Cake runner

Cake runner for .NET Framework

Cake version

1.3.0+Branch.main.Sha.c0364c3894c44e792c1be81b684c2215cd838c90

Operating system

macOS

Operating system architecture

64-Bit

CI Server

No response

What are you seeing?

Analyzing build script...
Analyzing /Users/catap/src/GeneticSharp/build.cake...
Processing build script...
Installing tools...
Installing addins...
Assemblies not found for tfm .NETFramework,Version=v4.6.1 and rid [NULL].
No assemblies found after running content resolver.
Error: Cake.Core.CakeException: Failed to install addin 'Cake.Sonar'.
  at Cake.Core.Scripting.ScriptProcessor.InstallAddins (System.Collections.Generic.IReadOnlyCollection`1[T] addins, Cake.Core.IO.DirectoryPath installPath) [0x000c0] in <040622b6758f456b89fd2a5b24e3e64c>:0 
  at Cake.Core.Scripting.ScriptRunner.Run (Cake.Core.Scripting.IScriptHost host, Cake.Core.IO.FilePath scriptPath) [0x0013b] in <040622b6758f456b89fd2a5b24e3e64c>:0 
  at Cake.Features.Building.BuildFeature.RunCore (Spectre.Console.Cli.IRemainingArguments arguments, Cake.Features.Building.BuildFeatureSettings settings) [0x0010d] in <21a7d41a88904b88a0986b85ed354c53>:0 
  at Cake.Features.Building.BuildFeature.Run (Spectre.Console.Cli.IRemainingArguments arguments, Cake.Features.Building.BuildFeatureSettings settings) [0x00012] in <21a7d41a88904b88a0986b85ed354c53>:0 
  at Cake.Commands.DefaultCommand.Execute (Spectre.Console.Cli.CommandContext context, Cake.Commands.DefaultCommandSettings settings) [0x000d0] in <21a7d41a88904b88a0986b85ed354c53>:0 

What is expected?

To work

Steps to Reproduce

  1. git clone https://github.com/giacomelli/GeneticSharp.git
  2. cd GeneticSharp
  3. curl -Lsfo build.sh https://raw.githubusercontent.com/cake-build/resources/master/dotnet-framework/build.sh
  4. chmod +x build.sh
  5. ./build.sh -- -v Diagnostic

Output log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions