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

Installing .NET on my Mac #6957

Closed
Shraddha0426Swaroop opened this issue Nov 22, 2021 · 6 comments
Closed

Installing .NET on my Mac #6957

Shraddha0426Swaroop opened this issue Nov 22, 2021 · 6 comments
Labels
area-tutorials Issues related to getting started tutorials

Comments

@Shraddha0426Swaroop
Copy link

Shraddha0426Swaroop commented Nov 22, 2021

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: macos

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Task: I am trying to determine that Net Core is installed so I can used Visual Studio to code in C#. I am getting an error saying Visual Studio cannot find .NET on my machine. I need help with this task:

I ran the command suggested and received the following message in my terminal:
zsh: command not found: ~$

Although the following commands produced the following responses
shraddhaswaroop@Shraddhas-MacBook-Pro-2 ~ % where dotnet
/usr/local/share/dotnet/dotnet
shraddhaswaroop@Shraddhas-MacBook-Pro-2 ~ % dotnet --version
6.0.100

@mairaw
Copy link
Contributor

mairaw commented Nov 22, 2021

It seems your installation is fine given that dotnet --version worked.

You don't need to type ~$, just dotnet. Would it be more helpful if we removed those characters?

Also, are you getting any errors on VS Code too?

@mairaw mairaw added area-tutorials Issues related to getting started tutorials needs-more-info Not enough information has been provided. Please share more detail as requested. labels Nov 22, 2021
@scalablecory
Copy link
Contributor

Are you using VS Code, or VS for Mac?

@Shraddha0426Swaroop
Copy link
Author

I am using VS Code.
Screen Shot 2021-11-22 at 12 54 41 PM

@no-response no-response bot removed the needs-more-info Not enough information has been provided. Please share more detail as requested. label Nov 22, 2021
@Shraddha0426Swaroop
Copy link
Author

Shraddha0426Swaroop commented Nov 22, 2021

It seems your installation is fine given that dotnet --version worked.

You don't need to type ~$, just dotnet. Would it be more helpful if we removed those characters?

Also, are you getting any errors on VS Code too?

I am getting errors in VS Code.
Task: Generate Assets for Build and Debug
Can you help me resolve this? This is what I am getting (the whole message is "Assets were not generated"):
Screen Shot 2021-11-22 at 12 59 57 PM

@BeauNouvelle
Copy link

BeauNouvelle commented Dec 5, 2021

Please see:
https://github.com/dotnet/core/issues/6953

I believe this could be related and there's a workaround.

@eiriktsarpalis
Copy link
Member

Duplicate of dotnet/sdk#22910

@eiriktsarpalis eiriktsarpalis marked this as a duplicate of dotnet/sdk#22910 Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tutorials Issues related to getting started tutorials
Projects
None yet
Development

No branches or pull requests

5 participants