Search code examples
c#performanceoptimizationreducegarbage

What are the folders and files that I can Delete it in C# Visual Studio Solution to reduce project Size without causing the project to crash?


there are compiled objects and files which created for debugging
these files I think that I can delete it, what is it.
the actual problem happen when I trying to submit the solution on the Elearning system, the maximum size allowed was 1MB and the project after compress 1.435 MB
you know, the project must open without Problems on side Teacher


Solution

  • try removing bin and obj folders. they are recreated when you build your application.

    Here is more info about files used by Visual Studio.

    I found list of files (.gitignore file) you can delete on Github