Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB.net Project File size large

Posted on 2014-03-24
2
Medium Priority
?
328 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
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

972 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