Do you use web application project or something that forces you to build
"for real" in VS2005? See, with default web site model, "Build" you do in VS
is actually just a deep validation check (it also notes XHTML validation
errors), which yes errors in VS, but it doesn't prevent you from running the
page at all ASP.NEt environment is the one doing the compilation, VS doesn't
actually do it. (VS2005 Web Application project, WAP, is a different beast
as it works similarly as things worked in VS2003).
Just open the page in browser from the server.
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"Sergei Shelukhin" <re******@gmail.com> wrote in message
news:11*********************@c74g2000cwc.googlegro ups.com...
Hi. The question may be stupid, but when I try ti produce asp file that
outputs xml the way I did it in 1.1 - by emptying the aspx file itself
or adding something like
<?xml version="1.0" encoding="utf-8" ?>
<test><%=phrase%></test>
in there, I get XHTML validation errors and my web site refuses to
build.
How do I fix this?