Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Multi-Targeting Pack for the .NET Framework 4.0.1 is available


Introduction

This article describes the new Multi-Targeting Pack (MT Pack) for the Microsoft .NET Framework 4 Platform Update 1. The MT Pack lets developers create applications that target new APIs from Runtime Update for the .NET Framework 4 Platform Update 1.

For more information about Runtime Update for the .NET Framework 4 Platform Update 1, click the following article number to view the article in the Microsoft Knowledge Base:
2478063 Update 4.0.1 for Microsoft .NET Framework 4 – Runtime Update
The MT Pack is part of the Design-Time Update for Microsoft Visual Studio 2010 Service Pack 1 (SP1).

For more information about Design-Time Update for Microsoft Visual Studio 2010 Service Pack 1 (SP1), click the following article number to view the article in the Microsoft Knowledge Base:
2495593 Update 4.0.1 for Microsoft .NET Framework 4 - Design-Time Update for Visual Studio 2010 SP1

↑ Back to the top


More information

The MT Pack is part of the Microsoft .NET Framework 4 Platform Update 1 - Design-Time Update for Visual Studio 2010 SP1. The MT Pack adds new reference assemblies, IntelliSense files, and other supporting files.

Notes
  • After you install the Design-Time Update for Visual Studio 2010 SP1, Visual Studio 2010 will automatically select Platform Update 1 as the target framework for any new projects. To develop applications for any other .NET Framework version, you must select the appropriate .NET Framework version in the Target Framework list.
  • If the target framework is not set as Platform Update 1 correctly, you cannot build against any applications that call new public APIs from Runtime Update for Platform Update 1.
  • If you change the target framework to any other.NET Framework version instead of Platform Update 1, the State Machine toolbox is not displayed. Therefore, inconsistencies occur in the active workflow project that uses Platform Update 1.

Update information

How to obtain the update

Multi-Targeting Pack for the .NET Framework 4.0.1 is included in the update that is described in the following Microsoft Knowledge Base article:
2495593 Update 4.0.1 for Microsoft .NET Framework 4 - Design-Time Update for Visual Studio 2010 SP1
If you develop applications for the .NET Framework 4.0.1 in Visual Studio 2010 SP1, download Design-Time Update from the following Microsoft Download Center website:Note For more information about the available .NET Framework multi-targeting packs for Visual Studio 2010, visit the following Microsoft website:If you are developing applications for the .NET Framework 4.0.1 on any major product version that is later than Microsoft Visual Studio 2010, download the multi-targeting pack from the following Microsoft Download Center website. We recommend that you do not use this update package to set up your design-time in Microsoft Visual Studio 2010.For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

To install this update, you must have Windows Installer 3.1 or a later version of Windows Installer installed.

To obtain the latest version of Windows Installer, visit the following Microsoft website:

Command-line switches for this update

For information about the various command-line switches that are supported by this update, visit the following Microsoft website:For information about Windows Installer, visit the following Microsoft website:

Restart requirement

This update does not require you to restart the computer after you apply the update unless the files that are being updated are locked or are being used.

Known issues for the update

Issue 1
If you create a website or web application in Visual Studio 2010 that targets the .NET Framework 4 Platform Update 1, and if the Web.config file is re-created, an error occurs when you build the application.

Cause

This issue occurs because an incorrect value for the targetFramework attribute is inserted into the Web.config file.

Resolution

To resolve this issue, open the Web.config file, and then manually change the value for the targetFramework attribute to 4.0.1.
Issue 2
When you create a new Visual Studio add-in project, you receive the following error message if you select .NET Framework 4 Platform Update 1 as the target framework:
Visual Studio Add-in Wizard: An error occurred, and the wizard could not generate the project. Verify that the programming language is properly installed.
Resolution

To resolve this issue, follow these steps:
  1. Select .NET Framework 4 as the target framework when you create the Visual Studio add-in project.
  2. Set .NET Framework 4 Platform Update 1 as the target framework for the add-in project after the project is created.
Issue 3

If you open any project that targets Platform Update 1 on a computer that is running Visual Studio 2010 SP1 and that does not have the MT Pack installed (because the design-time update KB2495593 was not installed), you receive the following error message:
Project Target framework Not Installed
This message indicates that you have a missing targeting pack.

Resolution

To resolve this issue, install the design-time update before you open the project in Visual Studio 2010 SP1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2495593 Update 4.0.1 for Microsoft .NET Framework 4 - Design-Time Update for Visual Studio 2010 SP1

Update removal information

To remove this update, use Add or Remove Programs in Control Panel.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File nameFile versionFile sizeDateTime
FullTrust.xmlNot Applicable102 24-Aug-101:14
Internet.xmlNot Applicable1,751 24-Aug-101:14
LocalIntranet.xmlNot Applicable2,454 24-Aug-101:14
System.Activities.Core.Presentation.xmlNot Applicable5,480 24-Aug-102:14
System.Activities.Presentation.xmlNot Applicable265,420 24-Aug-102:14
System.Activities.DurableInstancing.xmlNot Applicable8,228 18-Feb-113:39
System.Activities.xmlNot Applicable971,148 18-Feb-113:39
System.ServiceModel.Activities.xmlNot Applicable221,404 18-Feb-113:39
FrameworkList.xmlNot Applicable1,128 18-Feb-113:39
System.Activities.Core.Presentation.dll4.0.30319.447388,488 25-Mar-117:29
System.Activities.DurableInstancing.dll4.0.30319.44728,552 25-Mar-117:29
System.Activities.Presentation.dll4.0.30319.447915,832 25-Mar-117:29
System.Activities.dll4.0.30319.447459,104 25-Mar-117:29
System.ServiceModel.Activities.dll4.0.30319.447102,776 25-Mar-117:29

↑ Back to the top


Keywords: kbqfe, kbfix, atdownload, kbexpertiseadvanced, kbsurveynew, KB2495638

↑ Back to the top

Article Info
Article ID : 2495638
Revision : 3
Created on : 10/24/2011
Published on : 10/24/2011
Exists online : False
Views : 861