sdk icon indicating copy to clipboard operation
sdk copied to clipboard

dotnet cli doesn't work on my Windows 8

Open Adaok opened this issue 10 years ago • 6 comments

Steps to reproduce

Install dotnet from : https://www.microsoft.com/net/core#windowscmd test dotnet new on terminal

Expected behavior

Create new project

Actual behavior

C:/Program Files/dotnet/dotnet.exe: error while loading shared libraries: api-ms-win-crt-multibyte-l1-1-0.dll: cannot open shared object file: No such file or directory

Environment data

C:/Program Files/dotnet/dotnet.exe: error while loading shared libraries: api-ms-win-crt-multibyte-l1-1-0.dll: cannot open shared object file: No such file or directory

I have just install Visual Studio Code on my computer with Windows 8. I have already Visual Studio Code and the .NetCore for work on my Mac, but when I install dotnet CLI on my Windows, I have the output above. If someone have a solution, I take it ! Thanks for your attention.

Adaok avatar Nov 21 '16 21:11 Adaok

@gkhanna79 @schellap Is this something that you guys can help with?

livarcocc avatar Nov 21 '16 21:11 livarcocc

@Adaok Did you install the CLI via installer or are using the zip package? Can you please ensure https://www.microsoft.com/en-us/download/details.aspx?id=48145 is installed and try again? VC++ 2015 redist is installed by the CLI installer.

gkhanna79 avatar Nov 21 '16 21:11 gkhanna79

@gkhanna79 Hi ! I have install the CLI via installer and https://www.microsoft.com/en-us/download/details.aspx?id=48145 is install also. I retry but no changes... :(

Adaok avatar Nov 21 '16 21:11 Adaok

Any update on this?

thesmithee avatar Dec 20 '16 07:12 thesmithee

Hey ! Sorry for the late of the answer. After many try, I 've decided to update Windows 8 for Windows 10 and I haven't more this problem. Thanks for your help !

Adaok avatar Dec 20 '16 09:12 Adaok

You need to copy those missing dlls from your 'C:\Windows\System32' folder into your application's Debug folder. Then, just rebuild it. Cheers.

ricardocosta21 avatar Apr 19 '17 13:04 ricardocosta21