Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. .NET file size? *RANT*

.NET file size? *RANT*

Scheduled Pinned Locked Moved The Lounge
csharpcomsysadminquestionworkspace
24 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H HomeNuke

    **Begin RANT** Man, I was in for a shock my friend just gave me an app, his first in C#, and the setup file was like 20-30Megs in size? This thing only had a couple of forms. Is this true? This is my one reason I write code that I distro off my website in straight C Win32API the file size is way smaller. This can't be true can it? Someone please tell me he messed something up while creating the distro... This would totally defeat the purpose of distro files over the NET if the setup files total 20-30 megs for a couple of forms???? Sheesh... **END RANT** HomeNuke ---- "Nuke'd Your Home, Yet?" Run your own PostNuke based web server from home http://www.homenuke.com

    P Offline
    P Offline
    peterchen
    wrote on last edited by
    #2

    Sounds like the setup had the .NET RunTime included.


    You don't need to sleep to see a nightmare  Anne Clark   [sighist]

    C 1 Reply Last reply
    0
    • H HomeNuke

      **Begin RANT** Man, I was in for a shock my friend just gave me an app, his first in C#, and the setup file was like 20-30Megs in size? This thing only had a couple of forms. Is this true? This is my one reason I write code that I distro off my website in straight C Win32API the file size is way smaller. This can't be true can it? Someone please tell me he messed something up while creating the distro... This would totally defeat the purpose of distro files over the NET if the setup files total 20-30 megs for a couple of forms???? Sheesh... **END RANT** HomeNuke ---- "Nuke'd Your Home, Yet?" Run your own PostNuke based web server from home http://www.homenuke.com

      T Offline
      T Offline
      Todd Smith
      wrote on last edited by
      #3

      It probably included the .NET runtime. Your users will need that installed but you can always package it separately from your application insatller. Todd Smith

      D 1 Reply Last reply
      0
      • H HomeNuke

        **Begin RANT** Man, I was in for a shock my friend just gave me an app, his first in C#, and the setup file was like 20-30Megs in size? This thing only had a couple of forms. Is this true? This is my one reason I write code that I distro off my website in straight C Win32API the file size is way smaller. This can't be true can it? Someone please tell me he messed something up while creating the distro... This would totally defeat the purpose of distro files over the NET if the setup files total 20-30 megs for a couple of forms???? Sheesh... **END RANT** HomeNuke ---- "Nuke'd Your Home, Yet?" Run your own PostNuke based web server from home http://www.homenuke.com

        T Offline
        T Offline
        Troy Marchand
        wrote on last edited by
        #4

        He must be including the .NET run-time along with the app. Actually .NET applications are generally quite a bit smaller than C++ apps (with the same functionality).

        G 1 Reply Last reply
        0
        • H HomeNuke

          **Begin RANT** Man, I was in for a shock my friend just gave me an app, his first in C#, and the setup file was like 20-30Megs in size? This thing only had a couple of forms. Is this true? This is my one reason I write code that I distro off my website in straight C Win32API the file size is way smaller. This can't be true can it? Someone please tell me he messed something up while creating the distro... This would totally defeat the purpose of distro files over the NET if the setup files total 20-30 megs for a couple of forms???? Sheesh... **END RANT** HomeNuke ---- "Nuke'd Your Home, Yet?" Run your own PostNuke based web server from home http://www.homenuke.com

          D Offline
          D Offline
          David Stone
          wrote on last edited by
          #5

          My msi package is 9 MB with Acrobat reader and about 10 large images in it...the installer without those files is <= 1MB. Your friend really screwed something up... David Stone dstone@newcenturytitle.com
          Procrastination is like masturbation; it's all good until you realize you just screwed yourself. -Writing on a bench at college

          1 Reply Last reply
          0
          • T Todd Smith

            It probably included the .NET runtime. Your users will need that installed but you can always package it separately from your application insatller. Todd Smith

            D Offline
            D Offline
            David Stone
            wrote on last edited by
            #6

            I haven't been able to package it with...how do you??? David Stone dstone@newcenturytitle.com
            Procrastination is like masturbation; it's all good until you realize you just screwed yourself. -Writing on a bench at college

            1 Reply Last reply
            0
            • H HomeNuke

              **Begin RANT** Man, I was in for a shock my friend just gave me an app, his first in C#, and the setup file was like 20-30Megs in size? This thing only had a couple of forms. Is this true? This is my one reason I write code that I distro off my website in straight C Win32API the file size is way smaller. This can't be true can it? Someone please tell me he messed something up while creating the distro... This would totally defeat the purpose of distro files over the NET if the setup files total 20-30 megs for a couple of forms???? Sheesh... **END RANT** HomeNuke ---- "Nuke'd Your Home, Yet?" Run your own PostNuke based web server from home http://www.homenuke.com

              B Offline
              B Offline
              Bruce Duncan
              wrote on last edited by
              #7

              His setup included the .NET runtime or CLR, which is 20-25mb (I think...) This is only necessary if the target system does not already have it installed. (Which is probably most systems currently.)

              Bruce Duncan, CP#9088, CPUA 0xA1EE, Sonork 100.10030
              Arthur-Anderson, proud sponsor of the Corporate Make A Wish Foundation.

              C 1 Reply Last reply
              0
              • H HomeNuke

                **Begin RANT** Man, I was in for a shock my friend just gave me an app, his first in C#, and the setup file was like 20-30Megs in size? This thing only had a couple of forms. Is this true? This is my one reason I write code that I distro off my website in straight C Win32API the file size is way smaller. This can't be true can it? Someone please tell me he messed something up while creating the distro... This would totally defeat the purpose of distro files over the NET if the setup files total 20-30 megs for a couple of forms???? Sheesh... **END RANT** HomeNuke ---- "Nuke'd Your Home, Yet?" Run your own PostNuke based web server from home http://www.homenuke.com

                M Offline
                M Offline
                Mark A
                wrote on last edited by
                #8

                C# doesnt cater to small desktop applications well at all. C# for small desktop applications is like using a rocket engine to get a kite off the ground.

                R E 2 Replies Last reply
                0
                • M Mark A

                  C# doesnt cater to small desktop applications well at all. C# for small desktop applications is like using a rocket engine to get a kite off the ground.

                  R Offline
                  R Offline
                  Ryan Johnston 0
                  wrote on last edited by
                  #9

                  Mark A wrote: using a rocket engine to get a kite off the ground But that would be really cool to see.

                  1 Reply Last reply
                  0
                  • M Mark A

                    C# doesnt cater to small desktop applications well at all. C# for small desktop applications is like using a rocket engine to get a kite off the ground.

                    E Offline
                    E Offline
                    Eddie Velasquez
                    wrote on last edited by
                    #10

                    Mark A wrote: C# doesnt cater to small desktop applications well at all. C# for small desktop applications is like using a rocket engine to get a kite off the ground. Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll.


                    Eddie Velasquez: A Squeezed Devil
                    Checkout General Guidelines for C# Class Implementation

                    C C 2 Replies Last reply
                    0
                    • E Eddie Velasquez

                      Mark A wrote: C# doesnt cater to small desktop applications well at all. C# for small desktop applications is like using a rocket engine to get a kite off the ground. Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll.


                      Eddie Velasquez: A Squeezed Devil
                      Checkout General Guidelines for C# Class Implementation

                      C Offline
                      C Offline
                      ColinDavies
                      wrote on last edited by
                      #11

                      Eddie Velasquez wrote: Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll. How do uop come that conclusion Eddie ? just curious. Regardz Colin J Davies

                      Sonork ID 100.9197:Colin

                      I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

                      E 1 Reply Last reply
                      0
                      • C ColinDavies

                        Eddie Velasquez wrote: Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll. How do uop come that conclusion Eddie ? just curious. Regardz Colin J Davies

                        Sonork ID 100.9197:Colin

                        I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

                        E Offline
                        E Offline
                        Eddie Velasquez
                        wrote on last edited by
                        #12

                        Colin Davies wrote: How do uop come that conclusion Eddie Well, service packs, upgrades, etc. The adoption of (and transition to) .NET (the new "Win32": in the sense of a bunch dlls that make up the os) will be faster (IMO) than that of Win32 from Win16 and from DOS to Win16. Why? Well internet makes a hell of a difference!


                        Eddie Velasquez: A Squeezed Devil
                        Checkout General Guidelines for C# Class Implementation

                        C 1 Reply Last reply
                        0
                        • E Eddie Velasquez

                          Colin Davies wrote: How do uop come that conclusion Eddie Well, service packs, upgrades, etc. The adoption of (and transition to) .NET (the new "Win32": in the sense of a bunch dlls that make up the os) will be faster (IMO) than that of Win32 from Win16 and from DOS to Win16. Why? Well internet makes a hell of a difference!


                          Eddie Velasquez: A Squeezed Devil
                          Checkout General Guidelines for C# Class Implementation

                          C Offline
                          C Offline
                          ColinDavies
                          wrote on last edited by
                          #13

                          I'm wondering, how long it will take for popular Net apps to appear. I don't even think its included in XP yet ? [ unsure ] And I haven't seen a big push by MS to flood the bandwidth with it yet. I really think its going to trickle onto PC's over the next few years. Anyhow, Lets arrange to discuss this on 19/July/2003 :-) Regardz Colin J Davies

                          Sonork ID 100.9197:Colin

                          I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

                          E 1 Reply Last reply
                          0
                          • C ColinDavies

                            I'm wondering, how long it will take for popular Net apps to appear. I don't even think its included in XP yet ? [ unsure ] And I haven't seen a big push by MS to flood the bandwidth with it yet. I really think its going to trickle onto PC's over the next few years. Anyhow, Lets arrange to discuss this on 19/July/2003 :-) Regardz Colin J Davies

                            Sonork ID 100.9197:Colin

                            I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

                            E Offline
                            E Offline
                            Eddie Velasquez
                            wrote on last edited by
                            #14

                            Colin Davies wrote: don't even think its included in XP yet I think it will be included in SP1. Colin Davies wrote: I'm wondering, how long it will take for popular Net apps to appear. I remember when I wondered how long it would take for popular Win32 apps to appear. :) I think it will be pretty soon, at least compared with the Win16 and Win32 adoption rate.


                            Eddie Velasquez: A Squeezed Devil
                            Checkout General Guidelines for C# Class Implementation

                            C 1 Reply Last reply
                            0
                            • E Eddie Velasquez

                              Colin Davies wrote: don't even think its included in XP yet I think it will be included in SP1. Colin Davies wrote: I'm wondering, how long it will take for popular Net apps to appear. I remember when I wondered how long it would take for popular Win32 apps to appear. :) I think it will be pretty soon, at least compared with the Win16 and Win32 adoption rate.


                              Eddie Velasquez: A Squeezed Devil
                              Checkout General Guidelines for C# Class Implementation

                              C Offline
                              C Offline
                              ColinDavies
                              wrote on last edited by
                              #15

                              Yes, that makes me think about how "ready" .NET is for a 64 bit OS. I guess thats at the compiler level rather than Intermediate Language level. Regardz Colin J Davies

                              Sonork ID 100.9197:Colin

                              I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

                              J 1 Reply Last reply
                              0
                              • T Troy Marchand

                                He must be including the .NET run-time along with the app. Actually .NET applications are generally quite a bit smaller than C++ apps (with the same functionality).

                                G Offline
                                G Offline
                                Gerald Schwab
                                wrote on last edited by
                                #16

                                Actually, thier about the same as long as you don't statically compile with the CRT in your C++ apps. I frequently compile with the ATL library and some of my smaller exe's are only about 4K.

                                1 Reply Last reply
                                0
                                • C ColinDavies

                                  Yes, that makes me think about how "ready" .NET is for a 64 bit OS. I guess thats at the compiler level rather than Intermediate Language level. Regardz Colin J Davies

                                  Sonork ID 100.9197:Colin

                                  I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

                                  J Offline
                                  J Offline
                                  James T Johnson
                                  wrote on last edited by
                                  #17

                                  The only type that is bit sensitive would be IntPtr, and it was built to handle that change. The CTS has defined types so that they are strict, unlike C/C++ where only a relation is held between them. Some types defined by the CTS are Int16, Int32, Int64; I think we can all tell what the numbers mean :) While the CTS is 64 bit ready; the CLR is not. Currently there is no 64bit implementation of the CLR; not to say that there won't be there just isn't one yet. James "Java is free - and worth every penny." - Christian Graus

                                  1 Reply Last reply
                                  0
                                  • E Eddie Velasquez

                                    Mark A wrote: C# doesnt cater to small desktop applications well at all. C# for small desktop applications is like using a rocket engine to get a kite off the ground. Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll.


                                    Eddie Velasquez: A Squeezed Devil
                                    Checkout General Guidelines for C# Class Implementation

                                    C Offline
                                    C Offline
                                    Code4Food
                                    wrote on last edited by
                                    #18

                                    Eddie Velasquez wrote: Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll. Yeah but if they keep changing it like MFC then we have to distro apps with that anyways like I do now with MFC42 :( Code4Food ---- "There is no try; only do or do not" -Yoda

                                    E 1 Reply Last reply
                                    0
                                    • P peterchen

                                      Sounds like the setup had the .NET RunTime included.


                                      You don't need to sleep to see a nightmare  Anne Clark   [sighist]

                                      C Offline
                                      C Offline
                                      Code4Food
                                      wrote on last edited by
                                      #19

                                      So we don't need to include the .NET runtime? Everytime I build an install I include the crazy MFC24 DLL (if I used MFC) I don't think most systems will have .NET installed on them yet. Code4Food ---- "There is no try; only do or do not" -Yoda

                                      P 1 Reply Last reply
                                      0
                                      • B Bruce Duncan

                                        His setup included the .NET runtime or CLR, which is 20-25mb (I think...) This is only necessary if the target system does not already have it installed. (Which is probably most systems currently.)

                                        Bruce Duncan, CP#9088, CPUA 0xA1EE, Sonork 100.10030
                                        Arthur-Anderson, proud sponsor of the Corporate Make A Wish Foundation.

                                        C Offline
                                        C Offline
                                        Code4Food
                                        wrote on last edited by
                                        #20

                                        Bruce Duncan wrote: (Which is probably most systems currently.) Beat me to saying it :) I to believe most systems don't have .NET yet and the ones that do are development systems :( Code4Food ---- "There is no try; only do or do not" -Yoda

                                        1 Reply Last reply
                                        0
                                        • C Code4Food

                                          Eddie Velasquez wrote: Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll. Yeah but if they keep changing it like MFC then we have to distro apps with that anyways like I do now with MFC42 :( Code4Food ---- "There is no try; only do or do not" -Yoda

                                          E Offline
                                          E Offline
                                          Eddie Velasquez
                                          wrote on last edited by
                                          #21

                                          Code4Food wrote: Yeah but if they keep changing it like MFC then we have to distro apps with that anyways like I do now with MFC42 .NET's builtin versioning of assemblies prevents this scenario (bye, bye dll hell)


                                          Eddie Velasquez: A Squeezed Devil
                                          Checkout General Guidelines for C# Class Implementation

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups