Article ID: 945425 - View products that this article applies to.
Lines of code may be missing if you compile a solution that has a complex project structure in Microsoft Visual Studio 2008. The solution may incorrectly compile to Microsoft intermediate language (MSIL) code that omits certain method calls in the compiled .dll file. This problem occurs when there are method calls to classes, and these classes participate in an inheritance hierarchy that uses generic constraints.
This problem occurs when the Visual Studio 2008 solution has the following structure:
Note To view a diagram of this structure, see the "More Information" section.Additionally, the Visual Studio 2008 solution must use generic constraints as follows:
To resolve this problem, modify the reference to Project A that is in Project 2. To do this, make the reference a project reference instead of a file reference.
Note Because this bug applies only to a very specific scenario, it is unlikely that you will experience this problem.
This issue occurs when the Visual Studio 2008 solution has the structure that is mentioned in the "Cause" section and that is illustrated in the following diagram:
Collapse this imageExpand this image
Article ID: 945425 - Last Review: December 7, 2007 - Revision: 1.1
Contact us for more help