Solved

VB.net Project File size large

Posted on 2014-03-24
2
299 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
[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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
XML error not understood 5 28
Need help with a query 14 54
Datatable / Dates ? 4 32
VB .net 2010 Byte array 2 22
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 …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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