The specified task executable "dotnet" could not be run.

Dung Do Tien Feb 12 2020 355

I have a website written by .net core and I deploy to docker Linux Ubuntu 18 when I build image docker I get an error below :

The specified task executable "dotnet" could not be run. System.ComponentModel.Win32Exception (12): Cannot allocate memory [/src/ABC.App/ABC.App.csproj]

Please support me if you have any suggestions.

Have 2 answer(s) found.
  • Hi Mr.Dung

    I also get this error on Linux Ubuntu 18 in VPS of vultr. I have to restart my server and it working for me.

    1. Server environment: Restart your server

    2. Development environment: Restart Visual studio (your editor).

     

    I hope this helpful for you.

     

    Dung Do Tien Feb 17 2020
  • Wow. It working for me. 

    Thanks Jonh Jacker many 

    Manish Kumar Feb 18 2020
Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips