Showing posts with label .NET Framework Client Profile. Show all posts
Showing posts with label .NET Framework Client Profile. Show all posts

How do developers target the Client Profile Preview?

Visual Studio 2008 SP1 has the option to target the "Client-only Framework Subset". Visual Studio developers can view their project properties and view the Advanced Compiler Options. The options will allow users to target the framework their application will require (.NET Framework 2.0, 3.0 or 3.5). There will also be a check-box to target the "Client-only Framework Subset". This option will change the project in two subtle ways.

  • First, at compile time, the reference list of DLLs will be matched up against the known "Client List" of DLLs that are included in the Client Profile. If the project has a reference to an assembly that is not included, in the "Client List", the developer will see compile-time warnings/errors.
  • Second, the project will add a configuration file that will specifically declare the application as a "client" application. The configuration file will allow their application to run on a computer with just the Client Profile installed. Without the configuration file, the end-user will be prompted to install .NET Framework 3.5 SP1 or greater

How does the .NET Framework Client Profile Preview correlate to the full .NET Framework?

The .NET Framework Client Profile Preview is a subset of the full .NET Framework 3.5 SP1. The Client Profile Preview subset does not contain any assemblies that are not found in the full framework. In addition, the deployment of the .NET Framework Client Profile Preview will also allow users to update their computers to the full .NET Framework 3.5 SP1. The .NET Framework 3.5 SP1 will be a critical update to .NET Framework 3.5, pushed out to users via Windows Update. On Windows Vista and later versions of Windows, the Client Profile Preview setup bootstrapper will install updates to the full framework as needed since those versions of Windows already have the full profile of the .NET Framework.

What is the .NET Framework Client Profile Preview?

The .NET Framework Client Profile Preview is a new setup option for the .NET Framework available for the first time in 3.5 SP1. This new setup installer enables a faster, simpler installation experience for .NET Framework-based client applications on Windows XP and Windows Vista.