Consider the following scenario:
You have a Microsoft BizTalk Server 2009 project that has an orchestration.
The orchestration uses message types that are classes from a referenced .NET project.
The classes import or include many schemas.
You try to build the BizTalk project in Microsoft Visual Studio.
In this scenario, Visual Studio crashes.
This issue occurs because of stack overflow.
When many schemas are imported or included in the message types, many recursive calls are made, and the call stack overflows.
Cumulative update information
The hotfix that resolves this issue is included in cumulative update package 4 for BizTalk Server 2009.
For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2604321 Cumulative update package 4 for BizTalk Server 2009
To work around this issue, remove the references to classes that import or include many schemas.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about service packs and cumulative package updates for BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:
2555976 Service Pack and cumulative update list for BizTalk Server For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk Server hotfixes