Share via


.NET Framework Version Dialog Box

Sets the Supported Runtimes property that specifies the version(s) of the common language runtime required by the application. By default, the latest version of the common language runtime is used; select a different runtime version if you want your application to run on a previous version.

Caution   Selecting a previous version of the runtime could cause the application to fail if it references .NET Framework classes that did not exist in the previous version. You should thoroughly test your application against all specified versions. For more information, see Working With Multiple Versions of the .NET Framework.

To access the .NET Framework Version dialog box:

  • In Visual Basic .NET, select the project in Solution Explorer. On the Project menu, choose Properties. In the Property Pages dialog box, select the Build node and click the Change button.
  • In Visual C# .NET, select the project in Solution Explorer. On the Project menu, choose Properties. In the Property Pages dialog box, select the Supported Runtimes property and click the ellipsis () button.
  • Microsoft .NET Framework v1.1 (default)
    Specifies that the application will run only if version 1.1 of the common language runtime is present on the computer.

  • Microsoft .NET Framework v1.0 (advanced)
    Specifies that the application will run only if version 1.0 of the common language runtime is present on the computer.

    Note   When you specify version 1.0, the app.config file will be modified with a section specifying that it can run on version 1.0 of the runtime. The application will actually be built using the version 1.1 compiler, and will be a version 1.1 application in all other respects.

  • Both Microsoft .NET Framework v1.1 and v1.0 (advanced)
    Specifies that the application will run if either version 1.1 or version 1.0 of the common language runtime is present on the computer. If both versions are present, version 1.1 will be used.

See Also

Working With Multiple Versions of the .NET Framework | Build, Common Properties, <Projectname> Property Pages Dialog Box | Side-by-Side Execution