Posted on 2007-07-23
VS2005 is intent of driving me insane!
After several changes to this web site and succesful builds and publishes it decides (once in a while) to refuse to run citing several warnings.
Why is it inconsistent in reporting these errors? Why do warnings top it from building?
And most importantly what do these errors mean and how can I fix them?
1. Dim objCmd = New SqlCommand()
Warning Variable declaration without an 'As' clause; type of Object assumed.
2. Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.LoadWarning 6 sub 'Page_Load' shadows an overloadable member declared in the base class 'Admin_LatestUpdates_Updates'. If you want to overload the base method, this method must be declared 'Overloads'.