Click here to Skip to main content
15,911,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a C# texteditor application written with visual studio 2008 and everything works fine except one problem. The problem I'm having is to have dotnet3.5 setup run before the the program setup(I intend to distribute the application). The dotnet3.5 under prerequisites of setup project in VS2008 adds a dotnet3.5 folder that is too big(194MB) and hence users with poor internet connection will have it difficult downloading my application. Now when i go into the DotNetFX35 folder added by the IDE, i see folders of dotnet 2.0, 3.0 and 3.5 but i only need dotnet3.5 . I even tried going to Microsoft website to get dotnet3.5 but got only a bootstrapper which requires internet connection to download dotnet3.5.I want a better way to use embed a small dotnet3.5 setup into my application for easy distribution and installation without internet. I hope my problem has been comprehensibly stated but if not, please let me know because I need help urgently.

Thanks in Advance.
Posted
Updated 8-Jun-11 4:54am
v2

Sorry - you can't. .NET is a series of layers: you need the whole of the lower layers in order to run the higher ones.
You could reduce the footprint by targeting a lower .NET version, but that may not have the facilities you need.
Vista shipped with .NET 3.0 included, and Windows 7 with 3.5, so setting a minimum (or recommended) operating system version of one of these may solve it. However, if your customer have a poor internet connection, then they are less likely to have Vista or 7 anyway!
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 8-Jun-11 15:46pm    
Correct, a 5.
--SA
Sergey Alexandrovich Kryukov 8-Jun-11 15:49pm    
I added my 2 cents.
--SA
In addition to what Griff says: you should consider .NET as OS, not as a library. Even though .NET on windows is a separate sub-systems, there are several other OS projects where .NET (CLR) is the only platform sitting right on the HAL.

You can consider deployment of .NET with your application.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900