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#

Britton Kitchell
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Britton Kitchell
Full Stack JavaScript Techdegree Graduate 14,927 Points

NuGet issues when trying to build the code after unzipping

I unzipped the files supplied for the the FitnessFrog web app and immediately got several errors when I built it (36 to be exact).

Most of them mention NuGet, for example: "NuGet Package restore failed for project Treehouse.FitnessFrog: Unable to find version '3.2.3' of package 'Microsoft.AspNet.Razor'."

I went to "manage NuGet packages" and tried to install all of the missing packages (obvious ones that should be included like jquery, Microsoft.Aspnet.Mvc, Microsoft.Aspnet.Razor) but they all say "not available in this source".

Is this course too outdated to compile in modern versions of Visual Studio that use current versions of .NET?

Mike Kohl
Mike Kohl
Courses Plus Student 6,793 Points

Not sure if this will help but you could try gong back to "manage NuGet packages" and search for "Microsoft.AspNet.Razor" click on it and next to the install button there should be a version drop down. Select version "3.2.3" and install it.