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 trialJordan Glean
2,542 PointsError on: Layout = null;
Why is there a red line under the Layout variable that is in the Razor file?
2 Answers
Jordan Glean
2,542 PointsI've resolved the issues. It was because I opened my .net project on my mac and I wasn't using .net core.
Steven Parker
231,248 PointsRed lines generally indicate a possible error in the syntax. But so we can check for sure and be specific about the solution, make a snapshot of your workspace and post the link to it here.