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#

Oh no! We encountered an error with your last submission.

Error Uploading file when challenge has been completed and passed unit tests locally.

1 Answer

Steven Parker
Steven Parker
231,269 Points

That's not much information to go on, but one issue that has caused problems before is people trying to upload their entire working directory, including all the compiled outputs. The submission only needs to contain source files.

For future questions, you may want to take a look at this video about Posting a Question.

Hi Steven Parker, thanks for the response. So am encountering an error when I try to upload my code using the project zip generated by the gulpfile, I made changes to the gulpfile using these links I found in the community: https://teamtreehouse.com/community/gulp-failing-to-run-i-have-completed-the-task-and-am-attempting-to-run-the-included-gulp-file-but-it-will-not-run as it refused to run before. https://teamtreehouse.com/community/gulp-task-is-broken

I am using this guide to create my zip folder: Create ZIP File of Your Completed Project There are two ways to create the ZIP file of your completed project files: manually or using the provided Gulp script.

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.

Steven Parker
Steven Parker
231,269 Points

If a student who has recently taken this course doesn't respond shortly with a resolution, you might want to run this by the Support folks. It could be that further changes to the software tools might warrant some instructions added to the Teacher's Notes.