Reduce Visual Studio ASP.NET/Core Project Size from MBs to KBs
We all know that android developement is getting famous day by day and we also some time need to do work on huge projects and sometimes we also need to transfer our project code from one pc to another pc or need to keep backup for later use. But when we compile the code in Visual Studio and run it then project size suddenly increase from KBs to MBs due to debugging and when need to keep backup we also have to keep all the project code with needless files and folders.
Many people don't know that how to delete decrease project size by deleting unncessory files and folder but if we delete any necessary file or fodler from project then it can cruppt our project and then we unable to run our project again.
Today I'm going to tell you that how we can delete all unncessary files and folders and decrease size of project within seconds without any hardwork or time waste we can reduce size of our project.
Method Reduce Size Manually
By this method we can delete all unneccessary files and folders manually by following simple steps given below;
1: Go to your project location and then find and delete following folders from your project folder;
- Packages
- bin
- obj
2: That's it We have done . Now you can check the size of your project it will decreased. Note When you Run your project again then both bin and obj folder and also packages folder will create again to run project but if you get error like path not found when you are running your project then your just need to Build ->Select Clean Solution and then again Build -> Rebuild Solution.
All errors will gone and your project will run successfully.
0 Comments