Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Portable C# Library

    Ok is it possible to package the parts of the C# Library that you need with your program? This way you can avoid having users install something that they would only be used for a single file? Some windows does not have the .NET Framework installed by default such as schools and libraries and such. And you can't install anything there, I know there are run time files for VB, is there some for C#?

  • #2
    Senior Coder
    Join Date
    Apr 2003
    Location
    England
    Posts
    1,192
    Thanks
    5
    Thanked 13 Times in 13 Posts
    Nope. Even if you do manage to get all the required files you may as well have shipped the installer with your product and then you will restrict who can use your app (if you ship 64bit dlls then 32bit users cant use your app and probably vice versa, etc) also with probably licensing issues from Microsoft.

    Microsoft give out a redistributable installer for the framework. If you have an installer you can just get it to install the appropriate version of the .net framework with your application. If you don't want to ship it with your product you can just link to it and explain that it is required. If they try to run it without the framework installed they will (usually) get an error telling them to get it anyway.

    XP SP2 and above all come with the .net framework anyway (and it is in windows update for other XP users) so the number of people with some version of the .net framework is increasing each day. You do sometimes get people who seem to think there is some problem with the .net framework and refuse to install it though.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •