O'Reilly logo

Sams Teach Yourself SharePoint® 2010 Development in 24 Hours by Vinu Santhakumari, Manpreet Singh, Sohail Sayed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q. I want to convert a farm solution to a sandboxed solution. How can I ensure that my solution doesn’t use any objects or functions restricted in the sandboxed solution?

A. Visual Studio IntelliSense does show you a trimmed list of classes and functions when developing a sandboxed solution. However, because in your case the code is already written, although IntelliSense will trim the restricted functions and objects, your solution will still compile successfully even when you set it to be deployed as a sandboxed solution. To ensure that you are not using any restricted functionality of the object model, try compiling your code against the version of the Microsoft.SharePoint.dll assembly present in the 14\UserCode\assemblies folder. In this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required