Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Target framework, what does ".NET Framework ... Client Profile" mean?

In Visual Studio 2008, the target framework settings for a project are

  • .NET Framework 2.0
  • .NET Framework 3.0
  • .NET Framework 3.5

However, in Visual Studio 2010 they are

  • .NET Framework 2.0
  • .NET Framework 3.0
  • .NET Framework 3.5
  • .NET Framework 3.5 Client Profile
  • .NET Framework 4
  • .NET Framework 4 Client Profile

What do the Client Profile settings mean?

Edit

A little more experimentation shows that with MVC, WebForms and WCF projects you don't get the Client Profile options. When creating WinForms and Console applications, the default target framework is .NET 4 Client Profile. Which makes sense.

like image 552
Richard Ev Avatar asked May 19 '10 12:05

Richard Ev


People also ask

What is .NET Framework client Profile?

NET Framework 4. The Client Profile is designed to run client applications and to enable the fastest possible deployment for Windows Presentation Foundation (WPF) and Windows Forms technology. Application developers who require features that are not included in the Client Profile should target the full .

What does target .NET Framework mean?

When you target a framework in an app or library, you're specifying the set of APIs that you'd like to make available to the app or library. You specify the target framework in your project file using a target framework moniker (TFM). An app or library can target a version of .

What is .NET Framework 3.5 client Profile?

NET Framework 3.5 Deployment Guide. The Microsoft . NET Framework Client Profile is the subset of features and functionality needed for the installation and distribution of . NET Framework Client Profile for client applications.

What is .NET Framework 4 client Profile?

NET Framework 4 Client Profile is a subset of the . NET Framework 4 that is optimized for client applications. It provides functionality for most client applications, including Windows Presentation Foundation (WPF), Windows Forms, Windows Communication Foundation (WCF), and ClickOnce features.


3 Answers

The client profile is a smaller version of the full .NET framework that contains only the more commonly used content. Scott wrote a nice post about this. Here and here is an official introduction.

The client profile was added recently, so VS 2008 does not know about it yet. The client profile is one of the major features that come with .NET 4 and VS 2010. Since the Client Profile is a subset of the full .NET 4 framework, you don't need to install it if you already got the full .NET 4.

It can be an advantage to develop against the Client Profile since it exists on more machines than the full framework (and it is smaller in download size for your customers).

The disadvantage that comes along naturally - it does not include everything. If you are developing a server application or a program that uses uncommon parts of the framework, you'll need the full framework in any case. Typical client programs, however, are likely satisfied with the Client Profile.

like image 67
mafu Avatar answered Oct 05 '22 08:10

mafu


The Client Profiles are smaller, more compact versions of the .Net Framework. More info here.

like image 40
GaiusSensei Avatar answered Oct 05 '22 08:10

GaiusSensei


It is a subset of the .NET framework for CLIENT applications (i.e. applications installed on the client computer).

As such, they do not incorporate server technologies. THis allows the client download to only install a smaller part.

Server technologies are for example ASP.NET.

Using ".net client profile" as search on Google, first link leads to http://msdn.microsoft.com/en-us/library/cc656912.aspx which has a detailed explanation.

Also the local .NET documentation (F1 - I hope you are aware this exists) has the same content.

like image 44
TomTom Avatar answered Oct 05 '22 07:10

TomTom