I have found that when I get the "cannot be auto-imported" errors, I have to go to the compiler options, and uncheck "Enable standard compiler warnings" option. For me, that was causing it. Not sure if that is the same problem you have, but you might want to try without it.