Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / September 2005

Tip: Looking for answers? Try searching our database.

Weird bug in VS.NET 2003 IDE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
1111111111111 - 07 Sep 2005 12:57 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.