build fails with asp button on page with click event

build fails with asp button on page with click event

am 31.03.2008 01:04:05 von 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

Re: build fails with asp button on page with click event

am 31.03.2008 01:36:30 von 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