Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WINDOWS X64 CANT FIND .NET 5.0.10 #5962

Closed
Rikisaraiva opened this issue Feb 16, 2021 · 35 comments
Closed

WINDOWS X64 CANT FIND .NET 5.0.10 #5962

Rikisaraiva opened this issue Feb 16, 2021 · 35 comments
Labels
area-setup Issues related to installing .NET Core

Comments

@Rikisaraiva
Copy link

Capture

@mairaw
Copy link
Contributor

mairaw commented Feb 16, 2021

Can you check if the steps I added here help you?
https://stackoverflow.com/questions/63746838/net-sdks-not-installing-correctly/66128116#66128116

And what's your version of Windows?

@mairaw mairaw added the area-setup Issues related to installing .NET Core label Feb 16, 2021
@mairaw mairaw mentioned this issue Feb 16, 2021
@Rikisaraiva
Copy link
Author

CMD

It doesnt work idk why i have done it all

@Rikisaraiva
Copy link
Author

btw my version of windows is x64

@mairaw
Copy link
Contributor

mairaw commented Feb 16, 2021

Can you paste the output of where dotnet?

@mairaw mairaw added the needs-more-info Not enough information has been provided. Please share more detail as requested. label Feb 16, 2021
@Rikisaraiva
Copy link
Author

C:\Program Files (x86)\dotnet\dotnet.exe
C:\Program Files\dotnet\dotnet.exe

@no-response no-response bot removed the needs-more-info Not enough information has been provided. Please share more detail as requested. label Feb 16, 2021
@mairaw
Copy link
Contributor

mairaw commented Feb 16, 2021

So it seems you installed both versions 32-bit and 64-bit, and so the 32-bit was the first one added to the system's path.

Click on the windows key and start typing Edit the system variables and click on that option

image

Click on the Environment Variables button

image

Under the System variables, select Path and click the Edit button

image

Find the entry C:\Program Files\dotnet\dotnet.exe and using the Move up button, leave that entry before the x86 one. Here's my machine for example:
image

Click the OK button until all the windows are closed. Open a new command prompt and run where dotnet. This should bring the non x86 first and you should be able to use the SDK now. Let me know if this works!

@Rikisaraiva
Copy link
Author

Thank you so much apreciate you for real you are my hero xD

@mairaw
Copy link
Contributor

mairaw commented Feb 16, 2021

Did it work?

@Rikisaraiva
Copy link
Author

yes thx for real

@mairaw
Copy link
Contributor

mairaw commented Feb 16, 2021

Great to hear. Thanks for reporting back.

@potsy2602
Copy link

Thanks for posting mairaw :) Fixed my issue

@Just-a-Unity-Dev
Copy link

thank you so much, i've been trying different solutions for so long!

@Alex228303
Copy link

Omg thx bro! You fixed my problem! I was looking the whole day for that!

@adrianoski05
Copy link

thanks for the solution! it worked!

@luan-cardoso
Copy link

thanks!!!

@Edgar200021
Copy link

So it seems you installed both versions 32-bit and 64-bit, and so the 32-bit was the first one added to the system's path.

Click on the windows key and start typing Edit the system variables and click on that option

image

Click on the Environment Variables button

image

Under the System variables, select Path and click the Edit button

image

Find the entry C:\Program Files\dotnet\dotnet.exe and using the Move up button, leave that entry before the x86 one. Here's my machine for example: image

Click the OK button until all the windows are closed. Open a new command prompt and run where dotnet. This should bring the non x86 first and you should be able to use the SDK now. Let me know if this works!

Thanks,it's works

@keshavkumarpune
Copy link

Almost spent 1 hour trying to uninstall and install VS 2022 community for 17.8, as was missing all the project templates for asp.net core. "where dotnet" command worked like a charm and all the project templates are showing now. Thanks a lot, @mairaw .

@cdupuisKR
Copy link

Hello,

I am having the same problem as above but my where dotnet shows only:
C:\Program Files\dotnet\dotnet.exe

How would I go about fixing this?
Thank You!

@mairaw
Copy link
Contributor

mairaw commented Jan 9, 2024

@cdupuisKR ideally we should have a new issue to follow up on your specific problem. But, can you confirm what is the architecture of your Windows machine? it should be fine to have only that if your machine is x64.

Can you share the results of dotnet --info?

@quelrodrigues
Copy link

Obrigadaaaa, já tava surtando kkkk

@mairaw
Copy link
Contributor

mairaw commented Mar 9, 2024

Obrigadaaaa, já tava surtando kkkk

@quelrodrigues de nada!

@Jacinta03
Copy link

I did everything and it dosen't work

@Sitylist94
Copy link

Thank you very much, you saved my life, I was going to be there for a long time. @Edgar200021

@mairaw
Copy link
Contributor

mairaw commented May 3, 2024

@Jacinta03 abra um novo issue com os detalhes da sua configuração, incluindo o que dotnet --info retorna e where.exe dotnet para a gente tentar ver o que está acontecendo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-setup Issues related to installing .NET Core
Projects
None yet
Development

No branches or pull requests