Microsoft
Software
Hardware
Network
Question : Visual Studio .NET build error but website works fine, problem with included script with VB
In Visual Studio 2008 (or 2010) I did "Open a website" on a working website. When I try a build I get errors on one page named "OnEveryPage.inc". This page is referenced on every .aspx page with <!--#include file="OnEveryPage.inc"-->
On the problem page (.inc), it begins with:
<script runat="server" type="text/vb">
and is followed by some vb code
The website works - but Visual Studio has a problem building this page, for example gives an error "Illegal syntax" on a line "If A <> B Then". It doesn't like the < although it is part of a legal VB operator. There are other errors like nbsp not defined.
How do I get VS to build this page without error?
NOTE: The solution needs to be in Visual Studio, not any change to the website (like renaming a page, changing a page, or redesign).
Thank you
Answer : Visual Studio .NET build error but website works fine, problem with included script with VB
Hmm, puzzling.
I think the reason the first error would be on the < would be because of its use in XML...
Random Solutions
Anyone used OEM for monitoring PeopleSoft application and peoplesoft databases?
Installing RPM on Linux
Why does this xslt sort not work?
ASP.NET unable to cast object of type
easy transfer software xp to xp
WiFi / wireless connection dropped & laptops need to be rebooted to reconnect to 2Wire broadband modem : Event id 5005
xp sp2 clients wont log or ping server 2003
Critera Help for query in access if a field is null then ignore crireria
Watchguard high collision rate
copy a defined user profile when user logs on domain for first time. Giving identical initial profile at logon. Each user can then modify this profile as required. over time keeping settings