Home All Groups Group Topic Archive Search About
Author
18 Feb 2006 3:18 PM
Paul Hand
Hi all,

Visual Studio 20005, XP Pro >net v2

Whenever I try to compile with the following:

%@ Page Language="C#" CompileWith="DynamicUpdate.aspx.cs"
ClassName="DynamicUpdate_aspx" %>

I get the following error message: Attribute CompileWith is not a
valid attributte

Any ideas?

Thanks all,
Paul

Author
20 Feb 2006 5:37 PM
Teemu Keiski
Hi,

CompileWith was removed when v2 stepped into beta 2 phase:
FYI: http://msdn.microsoft.com/asp.net/whidbey/beta2update.aspx

You'd use CodeFile in RTM. Note, you'd also change ClassName to Inherits


--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke


Show quoteHide quote
"Paul Hand" <paul.h***@csnm.co.uk> wrote in message
news:1feev1l5gfcqfkv9uvnt8m5nn9va8vkmfp@4ax.com...
> Hi all,
>
> Visual Studio 20005, XP Pro >net v2
>
> Whenever I try to compile with the following:
>
> %@ Page Language="C#" CompileWith="DynamicUpdate.aspx.cs"
> ClassName="DynamicUpdate_aspx" %>
>
> I get the following error message: Attribute CompileWith is not a
> valid attributte
>
> Any ideas?
>
> Thanks all,
> Paul