Visual Studio 2005 Build in Web Application Project

Last post 07-28-2009 11:11 PM by Thomas Sun – MSFT. 5 replies.

Sort Posts:

  • Visual Studio 2005 Build in Web Application Project

    07-22-2009, 5:27 PM
    • Member
      point Member
    • tljhn
    • Member since 07-22-2009, 9:13 PM
    • Posts 3

     I have been consistently frustrated by this problem and have finally decided to find out what the deal is.  Before VS2005 SP 1 when I would work on a website and remove all compile errors, I could open up another form, and all of a sudden more build errors pop up.  I thought after upgrading to SP1 and going to the web application project, that VS2005 would know where it's bounds are and would compile everything on a build.  This does not seem to be case.  I can still open up aspx files and new build error are popping up.  My understanding is that VS build operations should not be 'compiling' aspx files.  They are set to 'content' not 'compile'.  Can someone explain to me why I am seeing this.  Obviously, I am missing something pretty basic, but others in my shop have the same complaint and no explanation. 

     

    Thanks!!

  • Re: Visual Studio 2005 Build in Web Application Project

    07-23-2009, 12:09 AM
    • Member
      406 point Member
    • Ashish.K
    • Member since 07-09-2009, 7:16 AM
    • Hyderabad
    • Posts 63

     Hi,

    Can you specify what errors were you getting.

    Thanks,
    Ashish Khadloya.

    Please Mark right answer if this post helps.
  • Re: Visual Studio 2005 Build in Web Application Project

    07-23-2009, 9:42 AM
    • Member
      point Member
    • tljhn
    • Member since 07-22-2009, 9:13 PM
    • Posts 3

     HTML tag errors.......... <table> can't be inside a <p>.......... tag can not contain uppercase letters........ I know I can turn that off and the pages will not be rendered correctly in some browsers, but I really would like to know what VS is doing.

  • Re: Visual Studio 2005 Build in Web Application Project

    07-27-2009, 11:46 PM

     Hi,

    Please make sure your HTML tags are not violating the HTML Validation Checking in VS 2005.

    You can change the validation from Tools->Options->Text Editor->Html->Validation.

    For more information, see http://weblogs.asp.net/scottgu/archive/2005/11/23/431350.aspx

     

    Thanks.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Visual Studio 2005 Build in Web Application Project

    07-28-2009, 10:56 AM
    • Member
      point Member
    • tljhn
    • Member since 07-22-2009, 9:13 PM
    • Posts 3

     I understand that.  Why does 'building' an application not find all of these errors in a project.  I have to open the page in the editor for VS to flag the errors.

  • Re: Visual Studio 2005 Build in Web Application Project

    07-28-2009, 11:11 PM
    Answer

     Hi,

    The build of Visual Studio for ASP.NET web application, the code-behind class files and stand-alone class files in the project are compiled into a single assembly, which is placed in the Bin folder.

    The HTML validation occurs in the background on idle.  VS might have not checked it yet.

    For more information, see http://weblogs.asp.net/scottgu/archive/2005/11/23/431350.aspx and http://msdn.microsoft.com/en-us/library/f940516c(VS.80).aspx

     

    Thanks.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Page 1 of 1 (6 items)