FIX: Build for a Windows Workflow project that contains Declarative Rules may crash when you try to build the Visual Studio 2008-based project by using the MSBuild command in the .NET Framework 4.0 or by using Team Foundation Build 2010

Article translations Article translations
Article ID: 2249629 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You have a Windows Workflow project that uses some declarative rule conditions from an out-of-the-box activity in Microsoft Visual Studio 2008.
  • You try to build the project by using the MSBuild command in the Microsoft .NET Framework 4.0 or by using Microsoft Team Foundation Build 2010.
In this scenario, the build process crashes.

Note Other issues that this hotfix resolves are described or referenced in the following Microsoft Knowledge Base article:
2023579 FIX: Build crashes and various errors occur when you use the MSBuild command in the .NET Framework 4.0 or in Team Foundation Build 2010 to build a Windows Workflow project in Visual Studio 2008

CAUSE

This issue occurs because the name of a rule file that defines the declarative rule conditions does not contain the ".rules" file name extension in Visual Studio 2008.

The build process for the NET Framework 4.0 searches for the rule file by using the ".rules" file name extension. Therefore, the build process crashes when no results are returned.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have the .NET Framework 4.0 installed.

Restart requirement

You do not have to restart the computer after you install the hotfix.

Hotfix replacement information

This hotfix replaces the following hotfix:
2023579 FIX: Build crashes and various errors occur when you use the MSBuild command in the .NET Framework 4.0 or in Team Foundation Build 2010 to build a Windows Workflow project in Visual Studio 2008

File information

The English version of this hotfix 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.
For all supported x86-based versions of Windows XP, of Windows Server 2003, of Windows Vista, of Windows Server 2008, of Windows 7, and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.workflow.componentmodel.dll4.0.30319.3431,588,08826-Jul-201019:26x86
For all supported x64-based versions of Windows XP, of Windows Server 2003, of Windows Vista, of Windows Server 2008, of Windows 7, and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.workflow.componentmodel.dll4.0.30319.3431,588,08826-Jul-201019:26x64
For all supported IA-64-based versions of Windows Server 2003, of Windows Server 2008, and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.workflow.componentmodel.dll4.0.30319.3431,588,08826-Jul-201019:26IA-64

WORKAROUND

To work around this issue, convert the Visual Studio 2008-based Windows Workflow project to a Visual Studio 2010-based Windows Workflow project.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 2249629 - Last Review: April 25, 2011 - Revision: 3.1
APPLIES TO
  • Microsoft .NET Framework 4
Keywords: 
kbfix kbqfe kbexpertiseadvanced kbhotfixserver kbsurveynew kbautohotfix KB2249629

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com