Skip to content

[Bug] Cannot be build on linux. #32

@mandel-macaque

Description

@mandel-macaque

The following error occurs:

home/mandel/Projects/maui-linux/src/DotNet/DotNet.csproj(106,5): error MSB4044: The "Exec" task was not given a value for the required parameter "Command".

Build FAILED.

/home/mandel/Projects/maui-linux/src/DotNet/DotNet.csproj(106,5): error MSB4044: The "Exec" task was not given a value for the required parameter "Command".
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.09
Get-Item: /home/mandel/Projects/maui-linux/eng/package.ps1:21
Line |
  21 |  $dotnet = (Get-Item $dotnet).FullName
     |             ~~~~~~~~~~~~~~~~
     | Cannot find path '/home/mandel/Projects/maui-linux/bin/dotnet/' because it does not exist.

An error occurred when executing task 'dotnet-pack'.
Error: One or more errors occurred. (.NET Core CLI: Process returned an error (exit code 1).)
	.NET Core CLI: Process returned an error (exit code 1).

The issue it seams that there is a mismatch between the scripts that we can find in arcade which correctly bootstrap dotnet in other dotnet project, there is a hack to ln -s the dotnet binary but is a workaround.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions