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# Building Services with ASP.NET Web API Planning Our Service Reviewing the Project Files

Marcos Reboucas
Marcos Reboucas
40 Points

How to setup the ASP.NET project as startup project in Visual Studio Code? I'm running it in a Mac.

I'm using a Mac so I'm working on Visual Studio Code from Microsoft. There's no right click command to setup the ASP.NET (.Spa project) as startup project as there's in the video lesson. I've looked over the internet and it seems there's some way to configure it using a launch.json file but could't run the project anyway.

2 Answers

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

Hi there, Marcos Reboucas! I feel like you're using the incorrect piece of software. Microsoft has two separate pieces of software. Visual Studio Code and Visual Studio. The former is what you currently have and is primarily an editor. The latter is a full-fledged IDE and what you need for your C# projects.

Hope this helps! :sparkles:

Marcos Reboucas
Marcos Reboucas
40 Points

Hi Jennifer, yes I know that. But I'm on a Mac, so maybe it's not possible to develop ASP.NET using a Macintosh machine?

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

Hi again, Marcos Reboucas. The link I gave above is for the Mac download for Visual Studio :smiley: They have both for Mac :tada:

Can this project zip be updated to recent version.

Getting error warning CS0618: 'WebApiRequestLifestyle' is obsolete:

I got this error initially "Could not locate the assembly "System.Web.Entity"

Can this project build on a mac?