Hello
I'm developing a fairly large (currently 26 sub-projects and 100000 lines)
project in VB.NET 2003, using Visual Studio .NET. There seems to be a very
annoying bug that crops up.
From time to time, when I save my code, the IDE decides to add lines to the
end of my code.
Say the last three lines of my code read:
End Sub
End Class
End Namespace
Sometimes it'll add new lines all on its own, like this:
End Sub
End Class
End Namespace <----------- this is where it should end
End Class
End Namespace
Or:
End Sub
End Class
End Namespacecece
The lines that it adds to the end are always lines that are already at the
end of the file. The number of lines varies: sometimes it'll just add a few
characters, sometimes it'll add fifty lines or more. The result of the IDE
adding all these lines is that the program fails to compile, which is
especially annoying as my project takes a good couple of minutes to compile.
The only work around is to delete the errant lines and save. Next, re-load
the IDE. The phantom lines will have returned, but deleting them and saving
allows me to compile the project successfully.
Sometime this bug occurs once or twice a day. Sometimes (as this morning),
it occurs once or twice in ten minutes. Needless to say, it's highly
irritating. Swapping to C# is not an option, unfortunately (company
policy). It usually affects the same small sub-set of files.
Any ideas? Is there a downloadable fix for this?
Carlos J. Quintero [VB MVP] - 07 Sep 2005 16:54 GMT
see if there is something here:
http://support.microsoft.com/search/default.aspx?catalog=LCID=1033&query=Visual+
Studio+.NET+hotfix&x=10&y=6

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
> Hello
>
[quoted text clipped - 42 lines]
>
> Any ideas? Is there a downloadable fix for this?