C Sharp Exe grows from 1mb to 5.5mb why?

A

Arty

My C Sharp Exe grew from 1mb in size to 5.5MB overnight, i don't remember
putting any resources into the exe file for it to grow that much...
Does anyone have an idea as to why this happened?
 
A

Arty

I did not change anything, i added one window form to the project.
and i did not attach any bmp or any other type of picture files, or any
other such things.

The reason i posted this is because i have as much info as i wrote, it just
happened.
I now went to the compiler settings and tried to turn the exe into a release
version with no debug info, but it still stays that size.

I guess i'm wondering if anyone else had a problem like that, also now the
project eats up resources (memory) like crazy i open the project and build it
4 times and run it 6 times and visual studio is complaining about running out
of memory.
 
D

Dave Harris

Arty said:
My C Sharp Exe grew from 1mb in size to 5.5MB overnight, i don't remember
putting any resources into the exe file for it to grow that much...
Does anyone have an idea as to why this happened?

Any chance you turned Localizable from false to true in your dialogs? I did
this once as a test and saw a quintupling in my assembly size.
 
D

dunawayc

I did not change anything, i added one window form to the project.

These two statements are contradictory. You obviously changed
something.

What is on the new form that you added? Lots of controls? Any
picture boxes? Is it possible that any of your files in the solution
are marked as embedded resources for their build action?

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top