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#

Xiao DAI
Xiao DAI
1,474 Points

"Upload Code" button only accept a file less than 5MB. How can I upload my solution files that are about 183MB together?

The "Upload Code" button only accepts a file less than 5MB.

How can I upload my solution files that are about 183MB together?

1 Answer

Steven Parker
Steven Parker
231,110 Points

Your solution uploads only need to include the source code files. They don't need to have the executables or any other components of the build environment.

A zip package with just the sources should be well within the size limit.

Xiao DAI
Xiao DAI
1,474 Points

I tried to only submit two source code files but I failed. All tests are failed even though they all passed in my local machine.

Steven Parker
Steven Parker
231,110 Points

When you say "they all passed", perhaps the challenge is testing more rigorously using different data.

Xiao DAI
Xiao DAI
1,474 Points

Sorry. I think I had you misunderstand.

When I posted "All tests are failed even though they all passed in my local machine.", I refers to the unit tests in "you can use Visual Studio's Test Explorer window to run all of the provided unit tests." In other words, the downloaded code contains 5 unit tests. I passed all of them in my local machine.