Solved

VB.net Project File size large

Posted on 2014-03-24
2
293 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:murbro
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 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:murbro
ID: 39959650
Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 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