Can not get plugin context object in test project

Oct 13, 2011 at 10:40 PM


I follow all the steps according to section of the documentation in CRM 2011 Plugin Testing Tools (,

I add account-update.xml file to my test project solution, then I add TestPlugin.dll class to my test project solution, and I use MyServiceProvider(string username, string password, string servername, string filepath). In my test project, I assigned the value "c:\test\crmproject\plugin\account-update.xml" for "filepath". When I run this test project, I can connect to CRM Server, but I always get plugin context object as null. And I want  to know whether I have missed something.

Thank you very much.




Oct 14, 2011 at 5:40 AM


Look at this