Hi wschaub:
I'd enter your comment into the Ladybug feedback area:
http://lab.msdn.microsoft.com/ProductFeedback/
You have to be very careful referencing types in other aspx / ascx /
master files in 2.0 because of the way web applications are structured
and the various build options.
Are you using an @ PreviousPage directive?
I have a couple tips and thoughts on the matter here:
Design Considerations for Cross Page Post Backs in ASP.NET 2.0
http://odetocode.com/Articles/421.aspx
One More On ASP.NET 2.0 Compilation
http://odetocode.com/Blogs/scott/arc...6/30/1889.aspx
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 25 Jul 2005 23:39:02 -0700, "wschaub"
<ws*****@discussions.microsoft.com> wrote:
When publishing Web Applications different rules are applied than those
applied to Building. This is sometimes a little late in the process to
discover bugs at least give us a warning when building. Also when using
Master pages and publishing we receive an error that the page is Ambiguous
because it is contained within all the dll's. When we do not use publish the
site works fine. When we use a previous page and cast it to an object at
Build time there are no problems but when we publish it fails. Again, tell
us at build time at least with a warning.