Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Basics Methods Methods

Robert Rydlewski
Robert Rydlewski
3,828 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

Robert Rydlewski
Robert Rydlewski
3,828 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

Steven Parker
Steven Parker
229,708 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?