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!
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
Balazs Peak46,160 Points
several problems with this challenge
- there are errors in the testing architecture (Helpers/ExtensionMethods.cs)
- I can not upload my code because there is a 5MB limit
James ChurchillTreehouse Teacher
Sorry to hear about the issues that you're running into with completing this local code challenge and for the overall lack of guidance.
There are two ways to create the ZIP file of your completed project files: manually or using the provided Gulp script.
To manually create the ZIP file, be sure to make the root of the ZIP file the folder that contains the "src" folder and the
README.md files. Also, make sure that you delete the "packages" folder (located in the "src" folder) that contains all of the solution's NuGet package dependencies. Accidentally including the "packages" folder would definitely put you over the 5MB upload limit.
To make this process easier, we've included a Gulp script that you can run using Visual Studio's Task Runner Explorer. Running the default Gulp task will restore NuGet packages, build the solution, run the provided unit tests, and assuming that all of the tests pass, create a ZIP file of the solution. Information about the Gulp script can be found in the "Getting Started" section on the local code challenge page (https://teamtreehouse.com/library/building-services-with-aspnet-web-api/building-our-service/adding-web-api-to-a-project).
I realize that we can do a better job of preparing you (and others) for using local code challenges. To that end, I'll work on getting an instruction step added to the course ahead of this first challenge, that will cover everything that you need to know.
Please let me know if this gets you unstuck or if there's anything else that I can do to help.