Problem getting started

Jan 23, 2011 at 4:33 PM

I am new to AutoPoco and have run into an immediate problem when trying to use it.  I have a class defined as follows:

public class Pool :  FiddlePoolsModel
{ // all of the classes stuff }

I then try to initialize AutoPoco as follows:

IGenerationSessionFactory factory = AutoPocoContainer.Configure(x =>
            {
                x.Conventions(c => { c.UseDefaultConventions(); });
                x.AddFromAssemblyContainingType<Pool>();
            });

However, when the code executes I get an exception with the message "'this' type cannot be an interface itself."

Am I doing something wrong?  Any help would be appreciated.

 

Coordinator
Jan 24, 2011 at 12:20 PM

Yeah, there was a bug in 1.0 - it is fixed in trunk, I suppose I could put out an intermediate 1.1 ALPHA for people to download?

Jan 3, 2013 at 12:24 PM

I've just encountered this myself. Did you ever release that update (1.1)? Nuget is telling me I have the latest which is 1.0.

Nov 12, 2013 at 3:06 PM
same problem.. must avoid this plugin