none
Versions Problem RRS feed

  • Question

  • I am using Windows Vista.  Under Program and Features, I see .NET Framework 3.5.  But how about the other versions?  First question: how I can find out all the .NET Framework versions that I have on my Vista PC (other than peeking at the User Agent string from IE)?

     

    I have a program that was developed in Visual Studio .NET 2003 on .NET Framework 1.1 on an XP.  I now run this program on my Vista PC.  Under which .NET Framework will it run?  How can I force it to run on a specific version?  I don't have the source code nor VS .NET 2003 on this Vista PC.

     

    Thanks in advance.

     

    kk

    Friday, May 2, 2008 4:13 PM

Answers

  •  

    Vista ships with .NET Framework 3.0 as an integral part of the OS. When you installed 3.5, the Framework installer would check for previous versions of the framework and install 2.0 SP1 automatically. The best way to find out the various versions of the .NET Framework that are installed on your machine is to look under "Programs and Features" for the installed versions.

     

    By default te app will use the latest version installed on the user's machine. You can modify the config file of your application to point to a specific .NET Framework version

    <frameworks>
      <platform name="win32" default="net-1.1">

     

    Thanks

    Friday, May 2, 2008 10:49 PM
    Moderator
  •  

    .Net 1.1 and 2.0 are side-by-side while .Net 3.5/3.0 are built over .Net 2.0.

    The following articles may help you understand what framework versions are installed on your machine and also the relationship between 2.0, 3.0. 3.5.

    http://support.microsoft.com/kb/318785

    http://msdn.microsoft.com/en-us/library/bb822049.aspx

     

    Please do let us know if you have further queries.

    Saturday, May 3, 2008 6:57 PM
    Moderator
  • Hi kk

     

    I think this document can help to understand better:

    Use an Application Configuration File to Target a .NET Framework Version http://msdn.microsoft.com/en-us/library/9w519wzk.aspx

     

    Thanks

    Monday, May 5, 2008 3:31 AM

All replies

  •  

    Vista ships with .NET Framework 3.0 as an integral part of the OS. When you installed 3.5, the Framework installer would check for previous versions of the framework and install 2.0 SP1 automatically. The best way to find out the various versions of the .NET Framework that are installed on your machine is to look under "Programs and Features" for the installed versions.

     

    By default te app will use the latest version installed on the user's machine. You can modify the config file of your application to point to a specific .NET Framework version

    <frameworks>
      <platform name="win32" default="net-1.1">

     

    Thanks

    Friday, May 2, 2008 10:49 PM
    Moderator
  •  SaurabhGupta - MSFT wrote:

    The best way to find out the various versions of the .NET Framework that are installed on your machine is to look under "Programs and Features" for the installed versions.

     

    As I have said, I see only Microsoft .NET Framework  3.5 in Programs and Features.  My IE user-agent string says I have got 3.0 and 2.0 too.  What is the official way to find out the versions that I have installed?

     

     SaurabhGupta - MSFT wrote:

    By default te app will use the latest version installed on the user's machine. You can modify the config file of your application to point to a specific .NET Framework version

    <frameworks>
      <platform name="win32" default="net-1.1">

     

    Where do I put this config file?  What is the name of the config file?

     

    Thank you for your help.

     

    kk

    Saturday, May 3, 2008 6:40 AM
  •  

    .Net 1.1 and 2.0 are side-by-side while .Net 3.5/3.0 are built over .Net 2.0.

    The following articles may help you understand what framework versions are installed on your machine and also the relationship between 2.0, 3.0. 3.5.

    http://support.microsoft.com/kb/318785

    http://msdn.microsoft.com/en-us/library/bb822049.aspx

     

    Please do let us know if you have further queries.

    Saturday, May 3, 2008 6:57 PM
    Moderator
  • Hi kk

     

    I think this document can help to understand better:

    Use an Application Configuration File to Target a .NET Framework Version http://msdn.microsoft.com/en-us/library/9w519wzk.aspx

     

    Thanks

    Monday, May 5, 2008 3:31 AM