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# Introduction

Andras Andras
Andras Andras
8,230 Points

Working with multiple files in Visual Studio

Hello,

I think that would be important to explain how to use Visual Studio same way as Mono regarding implementing the same multiple files-workflow.

2 Answers

Steven Parker
Steven Parker
231,269 Points

:point_right: Visual Studio handles multiple files even more easily than the mono workspace.

Any time you add a new file to the Visual Studio project, it automatically includes it when you compile. So the task of listing the components on the command line when you build using mono is completely eliminated.

Also, the standard build operation in Visual Studio automatically runs the executable when the build is successful, so running as a separate step from building is also eliminated.

Andras Andras
Andras Andras
8,230 Points

Thanks Steven,

Well, the question is how. I think this would be useful if the Visual Studio videos include step by step tutorials how to handle multiple files as in Mono. (I started watching Lynda tutorials hope I'll find it soon).