Skip to content

Could not load Cake.Powershell.2.0.0\lib\net6.0\Cake.Powershell.dll (missing System.Management.Automation, Version=7.2.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) #95

@ByteDev

Description

@ByteDev

I was under the impression from the Cake Powershell page that Cake 2.0.0 is supported but when I run: dotnet cake build.cake I get the following error:

Could not load Z:\Dev\GitHub\MyProj\build\tools\Addins\Cake.Powershell.2.0.0\lib\net6.0\Cake.Powershell.dll (missing System.Management.Automation, Version=7.2.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)

I'm referencing Cake.Powershell via an addin in my cake file: #addin nuget:?package=Cake.Powershell&version=2.0.0.

Any idea of the problem?
Any plans for Cake 3.0.0 support?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions