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# Querying With LINQ Now You're Querying Object Initialization

Noor Mufti
Noor Mufti
308 Points

What to do if my workspace automatically reloaded and all work lost in console window?

I was working in workspace as it shows in video and did 90% work but then suddenly workspace decided to reload and I lost all my objects and other definition. What should I do now? Should I start from scratch? Isn't it better to use Visual studio instead of workspace? Why Treehouse encourage to use workspace?

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Noor Mufti! Your best bet is to find the workspace and delete it. Then go to the next video and click "Launch workspace". This will cause the workspace to be rebuilt with the code caught up to the current video.

As far as why Treehouse uses workspaces, it is typically a good "jumping off point" for people who want to try coding without installing a bunch of software on their computer first. You can absolutely use Visual Studio for this. You'll find the project files under the "Downloads" section under the video. In later courses, you will be using Visual Studio :smiley:

Hope this helps! :sparkles: