.NET Framework - make setup project smaller in size

Asked By Elliot
15-Jul-08 04:56 PM
I have written a C# program and then make the setup project.
I specify the prerequisite (.NET Framework 3.5) to be downloaded as the same
location as my location. However, I find that my project built has almost
200MB because the folder DotNetFX35 occupies 194MB already.
How can I make it smaller?
I don't want the user download .NET Framework 3.5 on Microsoft's website.
Thanks for any idea in advance.
E9f5cf12da70
(1)
Occupies
(1)
  Pavel Minaev replied...
17-Jul-08 06:05 AM
ame

If you restrict yourself to .NET 2.0 (in Project properties, change
framework version to 2.0), it will be much smaller.

If this is not the option, you will have to wait for .NET 3.5 SP1,
which includes a so-called "client profile" - a significantly trimmed-
down version of .NET Framework suitable for running desktop
applications.
  Elliot replied...
16-Jul-08 02:35 PM
Any alternative?
My program has to use .NET 3.5.
If I use the .NET 3.5 SP1 solution, can I set that to be executed
automatically when users open my setup file, rather than users click .NET
3.5 SP1 to install and then click my program to install?
  Pavel Minaev replied...
17-Jul-08 06:06 AM
Yes, same as with any other 3rd-party installer.

Keep in mind that SP1 in general, and client profile in particular, is
still in beta though. If you want to go that way, you'll have to wait
until release. Meanwhile, you may just want to experiment with the
beta and see how much does it save you in terms of size:

http://www.microsoft.com/downloads/details.aspx?FamilyID=3D4F7AE6FE-F4D1-41=
96-A372-80EAB6D56332&displaylang=3Den
Create New Account
help
Input Panel in my CE 5.01 device. The SIP is very big - it almost occupies the entire screen on the CE device. I want to have a "text" box on Compact Framework Discussions GetForegroundWindow (1) GetWindowText (1) GetWindowLong (1) HWnd (1) Buffersize (1) Problemas (1) Occupies (1) EXSTYLE (1) 1. This is not the way SIP was designed to work. It Input Panel in my CE 5.01 device. The SIP is very big - it almost occupies the entire screen on the CE device. I want to have a text
my desktop application. my problem is like this when i am running my project it occupies 100% cpu at 1st form load. then again it release memory upto 95%. when i my desktop application. my problem is like this when i am running my project it occupies 100% cpu at 1st form load. then agai
puzzled by a minor layout issue. How do I set a table height so it occupies the vacant space in the browser? Used to be setting a table style height to line of text. Like I said, a stupid question. Expression Web Designer Discussions InterDev (1) Occupies (1) Window (1) Xhtml (1) Tags (1) The html and body tags require height:100%