Targeting a Specific .NET Framework Version


This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

In Visual Studio, you can specify the version or profile of the .NET Framework that you want your project to target. For an application to run on another computer, the Framework version that the application targets must be compatible with the Framework version that is installed on the computer.

This section contains topics that describe how to target specific versions of the .NET Framework in your projects.

In This Section

Visual Studio Multi-Targeting Overview Provides an overview of the multi-targeting features in Visual Studio.

How to: Target a Version of the .NET Framework Details how to specify a particular .NET Framework for your Visual Basic, Visual C# or Visual F# project.

.NET Framework Multi-Targeting for ASP.NET Web Projects Explains how to use this version of Visual Studio to develop Web applications that run under earlier versions of the .NET Framework.

Application Page, Project Designer (C#) Describes the Target Framework control in the Project Designer for Visual C# projects.

Application Page, Project Designer (Visual Basic) Describes the Target Framework control in the Project Designer for Visual Basic projects.

How to: Modify the Target Framework and Platform Toolset Describes how to change settings for Visual C++ projects to target different versions of the .NET Framework and to use different platform toolsets.