Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

C# C# Basics Methods Methods

Robert Rydlewski
Robert Rydlewski
3,827 Points

Why this code can be run only in Treehouse Workspace ?? I use Visual Studion and can't run the code ? :( . Please help !

Hi, I want to practice programming in Visual Studio instead of the workspace. However, when I run the program in terminal it doesn't work :(. I already installed C# extension as well as .Net framework version 3.1.102 This is the message: The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050.

The URL for apple support doesn't exist. All I want to do is running a basic program in Visual Studio with should be easy with C#

Please Help !!!! I am stuck with it for 6h and can't find a logical reason.

2 Answers

Steven Parker
Steven Parker
216,136 Points

This appears to be an Apple issue, it doesn't seem to be about VS.

Did you run "chsh -s /bin/zsh"? What happens after you have done that?

Robert Rydlewski
Robert Rydlewski
3,827 Points

I installed the old version .Net 2.1 and start working. I thought when I have newer version 3.1 it would cover all updates of the older version. However, that was my error of thinking I guess. Thank you for the response :) Cheers