Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

C# User Authentication with ASP.NET Identity Introducing ASP.NET Identity Understanding ASP.NET Identity and OWIN

Project Files Contain Syntax Errors


So i have just downloaded the project files and extracted them to a folder in Documents. Upon loading the project, I get the following:


Surely the files shouldn't contain syntax errors to start with?

Any ideas?


1 Answer

Allan Clark
Allan Clark
10,810 Points

Judging by the errors, it looks like the project lost its reference to Entityframework somehow. Go to the NuGet package manager (tools -> NuGet Package Manager -> Manage NuGet Packages for solution) then click the 'Browse' tab. Entityframework should show up as one of the top in the list but if not just type it into the search bar. Then click on EF in the list, to the right make sure your project is checked, and then click the install button. After it runs through its prompts try building again.

Hope this helps! Happy coding!

Thanks, I went into Nuget and it said EntityFramework was already installed. So I tried uninstalling it, then installing it and that seems to have done the trick.