Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Where are my constructors??!!

I build all day long. Suddenly, the build tells me a type has no constructors and sends me here:

    Dim frmSearch As New frmNameSearch(True, current)

If I change frmNameSearch's BuildAction from Compile to None to Compile, the error goes away. What the? Or, if I delete my bin\obj folders for frmNameSearch, it goes way, though on the next build it tells me I have errors when there are none. I build again and its happy.

The joke on our team when this happens: "would somebody please define some damn constructor for frmNameSearch!"

1 Comment

Comments have been disabled for this content.