[Mono-dev] Method not found: 'System.Data.Common.DbConnection.EnlistTransaction' in System.Data Version

Robert Jordan robertj at gmx.net
Thu Sep 2 07:30:50 EDT 2010

On 02.09.2010 13:09, Tomi wrote:
> I have tried to do this by myself, but I can't get it to work. The
> problem is probably in DbConnection.cs class
> (http://github.com/mono/mono/blob/master/mcs/class/System.Data/System.Data.Common/DbConnection.cs)
> because EnlistTransaction method (among others) have NET_2_0 symbols.
> This method is overriden by mysql .net connector, but .net 4.0 profile
> System.Data assembly version doesn't have this method probably
> because of that symbol. I added NET_4_0 symbols to directives, but
> none of my combinations worked. Any ideas or hints?

NET_4_0 implies NET_2_0, so the code is correct. My System.Data.dll
(built from git master) *does* contain this method.

How are you building your app?


More information about the Mono-devel-list mailing list