Skip to content

Feature Request: Support on Linux/Mac (through dotnet msbuild?) #45

@japj

Description

@japj

Currently Invoke-MsBuild seems to only support running from Windows.

However, with dotnet (msbuild)/powershell being crossplatform, it would be nice if Invoke-MsBuild would also work cross platform (e.g. through dotnet msbuild).

With Invoke-MsBuild '2.6.2' running on WSL Ubuntu 18.04 LTS I get:

Get-ChildItem: .... Invoke-MsBuild.psm1:674
Line |
674 | … nsStrings = Get-ChildItem -Path $registryPathToMsBuildToolsVersions | …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find drive. A drive with the name 'HKLM' does not exist.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions