Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB.net Project File size large

Posted on 2014-03-24
2
Medium Priority
?
321 Views
Last Modified: 2014-03-27
Hi

I have a VB.net project with around 10 forms and the size has reached 44MB
This seems larger than it should
Is there a way to reduce the size
I seem to remember someone saying that there is a folder that holds previous
versions. Is this true?
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 2000 total points
ID: 39951789
44 MB is not overly large for a project with 10 forms, and I cannot see why this is a problem with today's hard disks and backup medias.

If some of your forms use icons or other type of images, you can end up hitting that 44 MB quite fast. Make sure that the images are not overly large for their intended use.

If you have many different configurations (Release, Debug, customs), each one compiles in a different directory, so you end up with as many time the amount of space.

You can use Build...Clean solution before doing a backup. This deletes files that are used during compilation and will be recreated the next time that you compile.

By default, a project generates .pdb files for the Release configuration, which generally does not need them. You can prevent these files from being generated by going into the project's Properties window and set "Generate debug info" to None in the Advanced Compile Options of the Compile tab. Just be sure not to do that for your Debug configuration however, because most features of the debugger are disabled when you do not have the .pdb.
0
 

Author Closing Comment

by:Murray Brown
ID: 39959650
Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question