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# Creating a Project Using Visual Studio

Derek Etnyre
Derek Etnyre
20,822 Points

Is it possible to complete this tutorial using the new Visual Studio for MacOS?

I attempted to follow along using the new Visual Studio for MacOS, but the ASP.NET core web application created has fewer files then the version demonstrated on video. The .json file is not there along with others.

My guess is that I need to manually add some additional via NuGet, but not sure.

What do you think?

2 Answers

James Churchill
STAFF
James Churchill
Treehouse Teacher

Derek,

Visual Studio for macOS is not the same application as Visual Studio for Windows, so there'll be some differences in what you'll see in the course videos and what you'll see in Visual Studio for macOS. That being said, if you're willing to deal with those differences, you should be able to make it work.

It sounds like you created an ASP.NET Core project, not an ASP.NET project. When creating the new project, be sure to scroll down to the "Other" category and select the "ASP.NET" category. Then I'd select the "ASP.NET MVC Project" project template. That'll give you something close to the project that I create in the course video, though there'll be some differences.

Good luck!

Thanks ~James

Derek Etnyre
Derek Etnyre
20,822 Points

Thank you for replying - will give it a try this weekend :)

The ASP.Net Core -v- ASP.Net is still confusing to me, but reading up on it via blogs and etc...

mikkel pohjola
mikkel pohjola
1,966 Points

So if i get it right the project in visual studio on a windows machine is different from the project on a mac machine. I use Visual Studio 2017 and the project I get is different from what you have in the video