Article ID: 831489 - Last Review: April 23, 2007 - Revision: 1.4 BUG: The Visual Basic .NET compiler may stop responding when you try to build a project in Visual Studio .NET
On This PageSYMPTOMSWhen you try to build a Microsoft Visual Basic .NET project
in Microsoft Visual Studio .NET, the Visual Basic .NET compiler may stop
responding. You may receive the following error message: Visual Basic .NET compiler is unable to recover from the following
error: System Error &Hc0000005& (Visual Basic internal compiler
error) Save your work and restart Visual Studio .NET. CAUSEThis bug occurs if your Visual Basic .NET project contains a
file that uses the DirectCast keyword to pass an argument to the constructor of an attribute.
For example, this behavior occurs if your project contains a file that uses the
following code: WORKAROUNDTo work around this bug, follow these steps:
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
MORE INFORMATIONSteps to Reproduce the BehaviorTo reproduce the behavior that is mentioned in the "Symptoms" section of this article, follow these steps:
REFERENCESFor more information, visit the following Microsoft Web
sites: DirectCast http://msdn2.microsoft.com/en-us/library/7k6y2h6x(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/7k6y2h6x(vs.71).aspx) CType
Function http://msdn2.microsoft.com/en-us/library/4x2877xb(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/4x2877xb(vs.71).aspx) | Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
