Getting a signature mismatch error when compiling although it does match in VS.NET 2005

I changed the reference in my project to point to a specific hard-coded DLL to the project reference, and now I am getting an error indicating that the signature for some event handlers does not match, even if they do.

Here's one exact message:

The method 'Private Sub ObjectsGrid_CellChange (sender As Object, e As Infragistics.Win.UltraWinGrid.CellEventArgs)' cannot handle Event Public CellChange (sender as object, e As Infragistics.Win.UltraWinGrid.CellEventArgs) 'because it does not have the same signature.

What's also weird, if I drop the control in the GUI editor and VS automatically creates the handler, it still throws the same error.

0


source to share


1 answer


Are the compiled dlls, its project and custom project compiled, referencing the same version of the Infragistics assemblies? From what I've seen, any time you have a signature that seems to match, an error like this means you are referencing two different versions of the assembly and are trying to use it instead of the other.



0


source







All Articles