DCSIMG
Frustrating Bug in MS Visual Studio 2005 - Maxim

Frustrating Bug in MS Visual Studio 2005

In last days I experience some annoying and frustrating bug in MS Visual Studio 2005 (at work and at home). I write some project in VB.Net, this project is included in solution that contains another ten projects, that written in VB and C#. In the middle of work with IDE I receive error message: "Microsoft(R) Visual Basic Compiler has encountered a problem and needs to close. We are sorry for the inconvenience", and IDE crushes.

I made quick search in MSDN and found that this is known bug and MS provides some fixes (patches). For some reason I can't handle with installation of these patches. When I try to execute the EXE of the patch I get some unclear message: "This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows installer patch package", and setup closes. I've reinstalled the "Windows Installer" - didn't help.

Error messages from VB.Net IDE:

Shown when I typed something in VB:


Details of the error report (contents' log doesn't say anything to me):

If I continue to work after this error was shown, IDE looses intellisence and crahes soon...

Error message before the IDE crashes:


Hot-Fix links from MSDN: http://support.microsoft.com/kb/915038, http://support.microsoft.com/kb/917452.

When I open patch files (VS80-KB917452-X86-ENU.exe or VS80-KB915038-X86-ENU.exe):

I've googled for this kind of bug, some programmers met it and uses fixes and some programmers couldn't solve the problem and reinstalled the VS; I really don't want to reinstall  the entire VS2005.

Maybe someone met this bug in VS2005 and can help? Please advice, thanks.

Comments

# re: Frustrating Bug in MS Visual Studio 2005

Friday, December 14, 2007 8:12 PM by ekampf

אני באמת לא מבין איך אנשים עדיין עובדים עם VB...

# re: Frustrating Bug in MS Visual Studio 2005

Friday, December 14, 2007 9:55 PM by Maxim

אני לא אמור להתעצבן מהמשפט: "אני באמת לא מבין איך אנשים עדיין עובדים עם VB..." - אבל חייב להגיב, כי ידעתי שמישהו יאמר אותו (אפילו יש לי רעיון לפוסט בנושא).

אני לא מבין איך אפשר להגיד כזה דבר. לכל שפה מגיע את הכבוד, כל עוד מישהו לא הוכיח שיש משהו ב-#C שאין ב-VB ושניהם גם ככה מתורגמים ל-IL (גם אם באופן קצת שונה בחלק מן המקרים), יש דברים שרצים מהר יותר במאית שניה ב-#C ויש דברים שרצים יותר מהר ב-VB.

כ-40% של הפרויקטים שאני עובד עליהם כתובים ב-VB ואין שום סיבה להעבירם ל-#C. אני אישית אוהב יותר את הסינטקס של #C אבל זה לא יגרום לי לזלזל ב-VB, ולפי דעתי יש דברים שאפשר לכתוב/לפתח ב-VB.Net הרבה יותר מהר מאשר ב-#C.

בכל מקרה אם יש למישהו רעיון איך לפתור את הבאג הנ"ל אני מאוד אשמח לראות :)

# re: Frustrating Bug in MS Visual Studio 2005

Wednesday, December 19, 2007 11:14 PM by בן

מצטרף לבקשה - גם אני נתקל בבאג המעצבן עד-מאוד הזה.

יש מוצא?

# re: Frustrating Bug in MS Visual Studio 2005

Saturday, December 22, 2007 10:48 AM by Maxim

הפתרון כרגע זה לבצע "Clean Solution" פעם בכמה זמן (תלוי בגודל solution).

את קבצי EXE עם patch עדיין לא הצלחתי להפעיל, גם במחשב בבית וגם במשרד (יתכן והם פגומים מכתחילה).

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: