Results 1 to 5 of 5

Thread: [RESOLVED] [2005] VB ASP.NET Build Errors List

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Location
    Chicago, IL
    Posts
    514

    Resolved [RESOLVED] [2005] VB ASP.NET Build Errors List

    My client recently asked me to remove a part of a huge CRM web application I've been developing. Removing this piece (another project that is referenced by my web application), means that almost every method & function throughout the entire program will have to be updated. With around thousands of them, you can imagine it will be time consuming.

    Removing the reference to the project that I had included means, for VB, that it should then show compile/build errors everywhere that it is referencing the project that is now gone.

    That doesn't happen! Visual Basic will only show one or two errors, or none at all, but the build fails. I can apparently only show the errors if I actually look at every single .vb file and wait about 15 seconds, one by one, but that causes it to claim that none of the objects on the webform exist until I view the webform, too, close the .vb file, and re-open it! No matter how many times I restart or rebuild the web application, it will only show one, or two, errors. It picks them randomly from all over the site, and once I correct them I have to build again for it to pick up another two from somewhere else throughout the site. It is taking so long I'm close to telling the client to live with the other part of it. At this rate, to fix thousands of them will take me weeks.

    What can I do to make ALL of the errors show up at once?
    Warren Ayen
    Senior C# Developer
    DLS Software Studios (http://www.dlssoftwarestudios.com/)

    I use Microsoft Visual Studio 2005, 2008, working with Visual Basic and Visual C#
    Hey! If you like my post, or I solve your issue, please Rate Me!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] VB ASP.NET Build Errors List

    What a nightmare... I obviously haven't come across this before. There seems to be something "similar" reported to Microsoft but I doubt if it's the same scenario as yours.

    Do you try cleaning solution before building? Do you try running directly to see if that brings up every possible error? Are these errors or validation/warnings?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Location
    Chicago, IL
    Posts
    514

    Re: [2005] VB ASP.NET Build Errors List

    None of that works. If I try to build it, I'm told there was a build error, but unless I'm viewing the actual .vb file that has the error, it doesn't show in the list. Cleaning is a no go. Running will give me the actual ASP.NET errors with the friendly "Server error in blah blah". Mind you, this behavior is consistent across all systems I work on; home, client, and my office computer.
    Warren Ayen
    Senior C# Developer
    DLS Software Studios (http://www.dlssoftwarestudios.com/)

    I use Microsoft Visual Studio 2005, 2008, working with Visual Basic and Visual C#
    Hey! If you like my post, or I solve your issue, please Rate Me!

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] VB ASP.NET Build Errors List

    You said it's consistent across all your machines. Is it specific to one project or is it the case with all your projects?

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Location
    Chicago, IL
    Posts
    514

    Re: [2005] VB ASP.NET Build Errors List

    All web projects. All of them will frequently require me to close the form I'm working on because the .vb file somehow...loses the controls on it. The IntelliSense will not detect any of the controls on the WebForm until I go and open it up in Designer view so it can "create" them. It drives me batty.

    Well I finished making the changes today, so I'm going to check this resolved.
    Warren Ayen
    Senior C# Developer
    DLS Software Studios (http://www.dlssoftwarestudios.com/)

    I use Microsoft Visual Studio 2005, 2008, working with Visual Basic and Visual C#
    Hey! If you like my post, or I solve your issue, please Rate Me!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width