Thread: non dot net build

  1. #1
    budding software engineer luigi40's Avatar
    Join Date
    Jun 2004
    Location
    South Coast UK
    Posts
    61

    non dot net build

    is it possible to build a project that will run on windows98/xp that doesnt have the dot net framework installed?

    i guess you need to supply dll,s, i have looked on msdn with no success.

    luigi
    Last edited by luigi40; 10-28-2005 at 06:33 AM.

  2. #2
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    yes, just create a C++ project and don't select one of the .NET projects.

    EDIT: Oh, this is the C# forum, well if you want to use C#, you NEED the .NET framework, there is no way around it.

  3. #3
    budding software engineer luigi40's Avatar
    Join Date
    Jun 2004
    Location
    South Coast UK
    Posts
    61

    xp

    so what happens when you create a C# application that gets downloaded by a user with no dot net framework installed on their machine, does this mean you need to provide the framework as well?

    luigi

  4. #4
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    they can't run any application that uses .NET if they don't have .NET installed. If I recall correctly, they get an error that mscore.dll could not be found (I think that's the DLL). It's exactly the same as if you build a C++ program using MFC but don't distribute the MFC DLL and they don't have it already.

  5. #5
    budding software engineer luigi40's Avatar
    Join Date
    Jun 2004
    Location
    South Coast UK
    Posts
    61
    so if i distribute the mscore.dll with the application will it work?

  6. #6
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    No. You need the installed Version of the .NET Framework on your target machine. Everything else is a hack that will probably not survive the next patch.
    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.

  7. #7
    budding software engineer luigi40's Avatar
    Join Date
    Jun 2004
    Location
    South Coast UK
    Posts
    61

    hmmm

    Quote Originally Posted by nvoigt
    No. You need the installed Version of the .NET Framework on your target machine. Everything else is a hack that will probably not survive the next patch.

    hmmmm sounds like "bill gates's" world domination attempt .. again

    luigi

  8. #8
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    I don't see the problem here. Why not give them .NET on CDs? You don't go copying individual DirectX files if you want to play a game do you? Why do the same with .NET?

  9. #9
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    hmmmm sounds like "bill gates's" world domination attempt .. again
    Yeah. Like that evil Java stuff, that only runs on machines that actually have Java installed...

    In a world where one would download CDs as well as movies in DVD quality from the net ( I don't, if it's worth watching, it's worth paying for, but morals or laws are not the point here ), saying you cannot download a 20MB Framework while your favorite filesharing tool is working in the back ground is hypocritical. ( Not saying you are, it's just that this is the main argument why .NET is bad... )
    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.

  10. #10
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    A lot of the complaints I've heard of are about the download size too. However, most people I've talked to actually seem to like .NET and don't mind so there are few that complain.

  11. #11
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    Quote Originally Posted by Frobozz
    A lot of the complaints I've heard of are about the download size too. However, most people I've talked to actually seem to like .NET and don't mind so there are few that complain.
    When customers complain about the 20mb download (because they don't really understand what the framework is), I explain it as just an operating system upgrade. Considering soon they'll have a load of applications wanting to use it, they may as well think of it as an upgrade. They were all happy to download SP2, so the .NET framework shouldn't be a problem.

  12. #12
    Banned nickname_changed's Avatar
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    986
    And if you have people running Windows 98, you've got bigger problems. Do you realise that operating system is 7 years old? Sounds like your problems won't be with backwards compatibility between programs - more like compatibility with backwards people.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PlaySound
    By cangel in forum C++ Programming
    Replies: 16
    Last Post: 10-08-2009, 05:29 PM
  2. Replies: 0
    Last Post: 10-07-2008, 12:09 PM
  3. Dot Net Question
    By LiteIce in forum C# Programming
    Replies: 5
    Last Post: 12-20-2007, 11:36 PM
  4. need help making a dot bounce up and down y axis in this prog
    By redwing26 in forum Game Programming
    Replies: 10
    Last Post: 08-05-2006, 12:48 PM
  5. Boom, Headoshot!!
    By mrafcho001 in forum A Brief History of Cprogramming.com
    Replies: 50
    Last Post: 07-21-2005, 08:28 PM