Website build and run even with invalid code

Last post 05-07-2008 5:02 AM by krappies. 3 replies.

Sort Posts:

  • Website build and run even with invalid code

    05-06-2008, 11:04 AM
    • Loading...
    • krappies
    • Joined on 09-18-2005, 7:34 AM
    • Posts 24

     Hi,

    I have a website which used to work perfect. When I run it from VWD express 2008 now, it builds and runs without errors until it gets to the page with the error in. I can type loads of garbage inside the .cs files, wherever I want, it still builds/rebuild fine and run without any errors until I get to that page...I cannot find out about any compile-time errors until I actually get to a page which contains any, which to me is just wrong.

    [edit] When I select build-build page, the errors are picked up, but build website does not pick up any errors...

     Anyone with any ideas about this, please give me a shout as this is driving me insane.

    Thanks
     

  • Re: Website build and run even with invalid code

    05-06-2008, 6:12 PM

    Regarding CSS: you may want to uncheck 'as warnings' in Tools | Options | Text Editor | HTML | Validation.

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Website build and run even with invalid code

    05-07-2008, 4:33 AM
    • Loading...
    • krappies
    • Joined on 09-18-2005, 7:34 AM
    • Posts 24

    Thanks. This however does not resolve my issue.

    I am not sure what to search for as I cannot find anything on this problem. VWB does the check and shows the error when there are invalid tags in the .aspx  files, but the .cs files just does not seem to be checked (even compiled maybe). This is also only happening for one of my projects, the other seems fine.

     Cheers
     

  • Re: Website build and run even with invalid code

    05-07-2008, 5:02 AM
    Answer
    • Loading...
    • krappies
    • Joined on 09-18-2005, 7:34 AM
    • Posts 24

    I GOT IT WORKING !!!!...sorry, I am just REALLY happy.

    I removed the namespace in two of my .cs files, it now works perfectly...I however would love to know how/why this broke the project so bad...

    Thanks for your time! 

Page 1 of 1 (4 items)