1

I need to create a unit testing module using Console application that communicates with SharePoint. I add the refernces and I write the code, but once I hit F5, the program breaks and I get error messages that SPSite does not exist in the current context.

I am doing this in Cloudshare. Any idea why this is happening?

3
  • Are you running the console application on the server that SharePoint is running? Commented Dec 20, 2013 at 20:36
  • I am accessing the SharePoint server from CloudShare. Everything is on CloudShare Commented Dec 20, 2013 at 21:50
  • Which of the SharePoint machine templates are you useing? Could be a template issue? Is the web application and site collection exists?
    – user21633
    Commented Dec 28, 2013 at 1:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.