Thread: Why use C#?

  1. #16
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    I also remember reading something about a linker for .NET so that (AFAIK) your clients wont need the .NET runtime. All the runtime code you use is compiled into the executable, and what you dont use is ignored. IIRC though, it was only for VB.NET. I'll try and find it...
    Looks pretty good, however, I don't have $490 to throw away . Maybe one day.
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ

  2. #17
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Yeah that's the only drawback. Keeping in mind though, a linker is not always a good thing - sometimes dynamic linking is the best option. The only reasons I'd use a linker is for demo versions and very basic and small apps, so the user doesn't need to download a 22mb runtime for a 2mb program. But for larger programs, having the runtime dynamicaly linked seems the best option, mainly due to security reasons.

  3. #18
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Quote Originally Posted by nvoigt
    Programmatically ? Yes, but you have to do it yourself. Back in beta MS provided a merge module that could be included in the installer and would install the Framework automatically, but this didn't make it into release for unknown reasons. So if you write an installer package, check for the framework and install it if it's not on the target machine, it should work.
    You might want to check this out:

    Here is Microsoft's description: "The Visual Studio .NET Framework Bootstrapper Plug-in modifies the behavior of the Setup project's Bootstrapper property to include the .NET Framework bootstrapper. The .NET Framework redistributable is then packaged with your application; when the user runs the bootstrapper setup.exe, it checks for the correct version of the .NET Framework at install time and if necessary, installs it before installing your application."

  4. #19
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    Looks exactly like what I need and what MS removed in Beta. I'll try it, thanks for the link.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed