Solved

VB.net Project File size large

Posted on 2014-03-24
2
311 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 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:Murray Brown
ID: 39959650
Thanks
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

632 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