Skip to content

PSake does not seem to work on PS Core on MacOSX #197

@dbroeglin

Description

@dbroeglin

On MacOSX (PS core) psake fails because it does not find a registry or a .Net installation.
The assertion psake.psm1 fails when it tries to look for frameworks.

Steps to reproduce:

With the following default.ps1 file:

task foo {
        echo "Hello World!"
}

When invoking Invoke-psake :

psake version 4.6.0
Copyright (c) 2010-2014 James Kovacs & Contributors

Error: 11/10/2016 22:24:43:
At /Users/dom/.local/share/powershell/Modules/psake/4.6.0/psake.psm1:193 char:9 +         throw ("Assert: " + $failureMessage) +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: Assert: No .NET Framework installation directory found at \Microsoft.NET\Framework64\v4.0.30319\.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions