Why do i need so many visual C++ and net framework versions?

Page 1 of 2 12 LastLast

  1. Posts : 1,031
       #1

    Why do i need so many versions of visual c++ and net framework?


    I have 4 different versions of visual c++ installed on my computer, as well as 2 different versions of net framework activated in windows features. Do i really need so many versions if im mostly using my computer for gaming and browsing the internet? Also, is it possible to hide them away from programs and features?

    Solved, they are required for various programs to work, so it's best to have them installed.
    Last edited by Cerawy; 26 Feb 2021 at 08:40.
      My Computer


  2. Posts : 1,471
    Win10 Home x64 - 1809
       #2

    Hey Cerawy,
    You shouldn't uninstall them and as you've found out they just come back. Different programs install/use different versions of C++ Redistributable and the same goes for Net Framework, but it only has a couple of versions.

    Note: I have 16 of the C++ Redistributables, from 2008-2017 for both x86 and x64 :)
      My Computers


  3. Posts : 2,734
    Windows 10
       #3

    Is that all. Most people will have a larger number than that.
    Visual C++ have 7 versions. .NET Framework serves a similar purpose.

    They are installed by Applications that require a certain version to work. Relatively small so why worry about it.

    They come back because some Applications requires them.
    Stop fiddling about, you are sobotaging your applications.
      My Computer


  4. Posts : 11,247
    Windows / Linux : Arch Linux
       #4

    Hi there

    I don't know much about Windows coding but surely IMO all an application needs to do is to concentrate on the actual task in hand and then for things like the GUI bits simply call the standard API. --or perhaps programming is taught differently these days.

    I was brought up on things like MVC (Model View Controller) where you separate out the business / use bit from the actual GUI stuff -- that way you don't need to change the .Net or visual C ++ stuff each time -- but what does an old fool like me know about coding !!.

    Model-View-Controller

    cheers

    jimbo
      My Computer


  5. Posts : 1,811
    W7 Ultimate SP1 (64 bit), LM 19.2 MATE (64 bit), W10 Home 1703 (64 bit), W10 Pro 1703 (64 bit) VM
       #5

    jimbo45 said:
    I don't know much about Windows coding but surely IMO all an application needs to do is to concentrate on the actual task in hand and then for things like the GUI bits simply call the standard API. --or perhaps programming is taught differently these days.

    I was brought up on things like MVC (Model View Controller) where you separate out the business / use bit from the actual GUI stuff -- that way you don't need to change the .Net or visual C ++ stuff each time -- but what does an old fool like me know about coding !!.
    Nobody has time to code things properly these days.
    Just look at the dodgy patches for all versions of Windows over the past few years.

    Everything is done using Management's interpretation of "Agile".
    "The deadline is all that matters. If the code actually works, that's a bonus."
      My Computer


  6. Posts : 809
    Win10
       #6

    jimbo45 said:
    I don't know much about Windows coding but surely IMO all an application needs to do is to concentrate on the actual task in hand and then for things like the GUI bits simply call the standard API. --or perhaps programming is taught differently these days.
    The Visual C runtimes are the standard APIs. This is similar to how a new version of glibc is released every 6 months.

    However, with every version of Visual Studio and every bug/security fix, MS adds/removes/modifies APIs. This potentially breaks backwards compatibility (whereas glibc tries to maintain backwards compatibility - though this isn't always successful either), hence the need for multiple versions of the C runtimes.
      My Computer


  7. Posts : 11,247
    Windows / Linux : Arch Linux
       #7

    PolarNettles said:
    The Visual C runtimes are the standard APIs. This is similar to how a new version of glibc is released every 6 months.

    However, with every version of Visual Studio and every bug/security fix, MS adds/removes/modifies APIs. This potentially breaks backwards compatibility (whereas glibc tries to maintain backwards compatibility - though this isn't always successful either), hence the need for multiple versions of the C runtimes.

    Hi folks

    I still can't really see why one should need so many versions -- for example assuming the business logic in the program doesn't change -- i.e Read data, do something with it and then get / display stuff for user for next action.

    Surely the call to a screen / window etc should be standard. OK in the new GUI's you can have resolution, colours etc - but an old program would simply use the basic parameters while newer stuff could make use of new facilties in the hardware.

    I'm sure the basic interface needn't actually change much - but you can still run some really old fashioned Visual basic programs even on Windows 10 using simple MVC type of stuff with basic Window / GUI handling.

    Cheers
    jimbo
      My Computer


  8. Posts : 809
    Win10
       #8

    The basic APIs do not change across VS version but the ABI can. But it looks like MS has started to address this with VS 2017 - C++ Binary Compatibility between Visual Studio 2015 and Visual Studio 2017 | Microsoft Docs

    Why didn't they do this before? Maybe they had to do something to justify getting organizations to move to each new version of VS. Otherwise parts of the org that didn't need the new features could stay on the old VS and still be compatible with the parts of the org that did move to the new VS.

    Attachment 175896
    Attached Thumbnails Attached Thumbnails Why do i need so many visual C++ and net framework versions?-image.png  
      My Computer


  9. Posts : 5,452
    Windows 11 Home
       #9

    Eagle51 said:
    Note: I have 16 of the C++ Redistributables, from 2008-2017 for both x86 and x64 :)
    I have got 24, thanks to Visual C++ Runtime Installer. Very usefull, so there would be no libraries missing.
    Attached Thumbnails Attached Thumbnails Why do i need so many visual C++ and net framework versions?-capture_02062018_204638.jpg  
      My Computer


  10. Posts : 1,031
    Thread Starter
       #10

    Is there a universal version of c++ you can install, so you dont need so many different versions?

    I prefer to have my control panel reserved for my own programs that i use on a daily basis.
    Last edited by Cerawy; 28 May 2018 at 20:35.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:52.
Find Us




Windows 10 Forums