/usr/share/dotnet/sdk/6.0.202/Roslyn/Microsoft.CSharp.Core.targets(75,5)
- Dominant language
- PowerShell
- Stars
- 22k
- Forks
- 4.9k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 29
Description
I am using the gitpod to build my project on github, the workspace image based on Ubuntu 20.04.
Dotfiles i am using to install the dotnet sdk was like: [install dotnet sdk](https://github.com/paul-cheung/gitpod-dotnetcore-dotfiles/blob/main/bootstrap.sh)
Now it failed to build
`gitpod /workspace/myproject (main) > dotnet build`
/usr/share/dotnet/sdk/6.0.202/Roslyn/Microsoft.CSharp.Core.targets(75,5): error MSB6004: The specified task executable location "/run/containerd/io.containerd.runtime.v2.task/k8s.io/cb2b4159045b836c6bc7e28d0e8b48a396ada2dc020f01599bce0eb0f55d6d6a/rootfs/usr/share/dotnet/dotnet" is invalid. [/workspace/myproject/src/Common/myproject.Common.csproj]
I have tried the solution mentioned [here](https://github.com/dotnet/core/issues/5326#issuecomment-883531419), but it did not help
For some reasons, I did NOT want to add .gitpod.yml file in my repository like [this](https://www.gitpod.io/docs/languages/dotnet#installing-the-net-tools) (workspace-dotnet base image which was specified in .gitpod.yml)
Contributor guide
Assessment
This issue has not been assessed yet.