augustoproiete on develop
Added Arguments() method to ret… Using CakeArguments. Moved impl… Merge branch 'develop' into fea… and 1 more (compare)
I faced with the following problem and don't know how to solve it
#addin "nuget:?package=Cake.WebDeploy&version=1.0.0" Error: Cake.Core.CakeException: Failed to install addin 'Cake.WebDeploy'. 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
Is there any solution?
@denis-ivanov your best chance would be to ask that in GitHub discussions, as we suggest to use GitHub discussions as prefered communication channel. GitHub discussions makes it easier to keep track of discussions in a structured way, especially if multiple discussions are happening at the same time. It also allows to search for previous discussion, which can be a helpful resource. GitHub discussions should be a place for the community like here, and we would be more than happy if community would chime in to discussions over there.
We won't delete this channel, but discussions might move to the new place which is available at: https://github.com/cake-build/cake/discussions
Could not find script build.cakethat't because there is no file named build.cake in the root folder of the project. You could use the
build.shto build. Alternatively you could specify the name of the Cake file explicitly like
dotnet cake recipe.cake- be sure to
dotnet tool restorebefore doing that, so you are calling cake in the right version. I'd suggest to stick to the prepared scripts (i.e. build.ps1/build.sh) to build the project.
Process.Start()is the much better option here. (In the end, this is what Cake does, too.)
Task(task)creates a new task
RunTarget(task)executes a task.
MSBUILD : error MSB1009: Project file does not exist. Switch: build/Build.csproj