none
Framework Compatiability with version 1.1 RRS feed

  • Question

  • Hi Team,

    I have created a Windows based console application with .Net 4.0 . This application is consuming a WCF Service created with the help of .Net 4.0 WCF Service. We need to deploy the application (Only the client part) in the clients environment where the client computer is only having only .Net version 1.1 installed there. And they are reluctant to upgrade to the higher version. My question is that do we have an option for an application created with the version 4.0 to target the framework 1.1 ?

    Thanks

    Tutumon

    Wednesday, January 5, 2011 2:19 PM

Answers

  • In a word, no.

    As you probably already know, VS 2010 is capable of targeting 2.0, 3.0. 3,5 or 4.0, but nothing earlier. There were fundamental changes made to .NET in 2.0 which cannot be supported in 1.1.

     

    Wednesday, January 5, 2011 2:39 PM
  • Hi Tutumon79,

     

    Pvdg42 is right.

    The .NET Framework 4 is backward-compatible with applications that were built with the .NET Framework versions 1.1, 2.0, 3.0, and 3.5. In other words, applications and components built with previous versions of the .NET Framework will work on the .NET Framework 4.

    However, applications build with .NET Framework 4 could hardly work on the previous versions of .NET Framework. Since every adds some new features and new expressions that not supported in previous version. And the CLR, the core component of .NET Framework, has changed from 1.1 in .NET Framework 1.1 to 4.0 in .NET Framework 4. Applications build with late version of .NET Framework sometimes even can not complie when target to previous versions.

    In addition, as you said, your application needs to use WCF Service, which is added in .NET Framework since 3.0. And it could not work in .NET Framework 1.1. To make your application works well, I think you sould let your cilent update their .NET Framework.

    Please see:

    ·         .NET Framework Versions and Dependencies

    ·         Version Compatibility in the .NET Framework

    ·         .NET Framework version history

     

    Best Regards,


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, January 7, 2011 7:46 AM
    Moderator

All replies

  • In a word, no.

    As you probably already know, VS 2010 is capable of targeting 2.0, 3.0. 3,5 or 4.0, but nothing earlier. There were fundamental changes made to .NET in 2.0 which cannot be supported in 1.1.

     

    Wednesday, January 5, 2011 2:39 PM
  • Hi Tutumon79,

     

    Pvdg42 is right.

    The .NET Framework 4 is backward-compatible with applications that were built with the .NET Framework versions 1.1, 2.0, 3.0, and 3.5. In other words, applications and components built with previous versions of the .NET Framework will work on the .NET Framework 4.

    However, applications build with .NET Framework 4 could hardly work on the previous versions of .NET Framework. Since every adds some new features and new expressions that not supported in previous version. And the CLR, the core component of .NET Framework, has changed from 1.1 in .NET Framework 1.1 to 4.0 in .NET Framework 4. Applications build with late version of .NET Framework sometimes even can not complie when target to previous versions.

    In addition, as you said, your application needs to use WCF Service, which is added in .NET Framework since 3.0. And it could not work in .NET Framework 1.1. To make your application works well, I think you sould let your cilent update their .NET Framework.

    Please see:

    ·         .NET Framework Versions and Dependencies

    ·         Version Compatibility in the .NET Framework

    ·         .NET Framework version history

     

    Best Regards,


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, January 7, 2011 7:46 AM
    Moderator