Hi,

I'm trying to build a project that overrides a method of an abstract
class in another project. I keep getting the following error: "no
suitable method found to override". Does any have any ideas on what
i'm missing? Thanks in advance

Re: Method override by Chris

Chris
Wed Jun 21 09:38:38 CDT 2006

What is the signature of the method you're trying to override?

Tony wrote:
> Hi,
>
> I'm trying to build a project that overrides a method of an abstract
> class in another project. I keep getting the following error: "no
> suitable method found to override". Does any have any ideas on what
> i'm missing? Thanks in advance
>

Re: Method override by Tryst

Tryst
Wed Jun 21 10:03:33 CDT 2006

you need to add the 'virtual' key to the method you want to override in
the abstract class.

I.E.

protected virtual SqlCeConnection GetConnection() { }

Tryst