Why use C#?

This is a discussion on Why use C#? within the C# Programming forums, part of the General Programming Boards category; I also remember reading something about a linker for .NET so that ( AFAIK ) your clients wont need the ...

  1. #16
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    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.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  2. #17
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    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
    Posts
    546
    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: http://msdn.microsoft.com/vstudio/do.../bootstrapper/

    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
    Location
    Hannover, Germany
    Posts
    3,139
    Looks exactly like what I need and what MS removed in Beta. I'll try it, thanks for the link.
    hth
    -nv

    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.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21