build fails with asp button on page with click event

K

Keith G Hicks

asp.net 2.0

I have a lot of pages in my current app with server buttons that run just
fine. But I added an asp button to the page I'm currently working on, double
clicked it to set up the code for the click event. That's it. No code in the
handler yet, just set it up. Build fails. No error messages. Just tells me
the build fails. If I take delete the button and any associated code the
build runs fine again. No idea what could be in the page that's causing
this. Anyone know what it could be?

Thanks,

Keith
 
K

Keith G Hicks

I imagine there's a trillion things that might cause this. I figured it out.
I had made a copy (just did a quick CTRL+C then CTRL+V) of an aspx and
aspx.vb file in windows explorer just as a backup. I forgot they were there.
When I deleted them everything ran fine. The build engine must have been
confused about some conflicting references.

Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top