dotnet / dotnet/core

targets(59, 5): error MSB6004 in Ubuntu emulator in termux

Open
#5,326 21 comments 0 reactions 0 assignees View on GitHub
area-setup
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

I installed Ubuntu 20.04 LTS in termux, and manually installed `dotnet` according to the [instructions](https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-3.1.100-preview3-linux-arm64-binaries).

When I ran `dotnet`, everything was OK. However, when I created a console app with `dotnet new console -o myApp` and ran it with `dotnet run`, an error happened:

> /root/dotnet/sdk/3.1.100/Roslyn/Microsoft.CSharp.Core.targets(59, 5): error MSB6004: The specified task executable location "/data/data/com.termux/files/home/ubuntu-fs/root/dotnet/dotnet" is invalid. [/root/cs/myApp/myApp.csproj]

Why this happens?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.