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# User Authentication with ASP.NET Identity Introducing ASP.NET Identity Understanding ASP.NET Identity and OWIN

Project Files Contain Syntax Errors

Hi,

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

https://imgur.com/a/kMw4VHP

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

Any ideas?

Thanks

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.