Templates and extensions that provide a sandboxed Visual Web Part together with enhanced support for sandboxed compilation to help you develop SharePoint solutions even more productively.
Visual Studio 2010 SharePoint Power Tools
The Visual Studio 2010 SharePoint Power Tools is a set of templates and extensions that provides additional functionality to SharePoint developers who use the SharePoint developer tools in Visual Studio 2010. Below is the list of features included in the current release of the power tools.
Sandboxed-compatible Visual Web Part This item template enables you to use a visual designer to create SharePoint web parts that can be deployed in a sandboxed solution for SharePoint 2010.
Sandboxed Compilation This extension displays build errors when you use types or members in a SharePoint 2010 sandboxed project which are not allowed in the SharePoint sandbox environment.
Known Limitations There are a few known limitations when using a sandboxed visual web part. These include:
Debugging of inline ASP.NET code must be done in the generated code file rather the markup file
Use of “<@ Assembly Src=” directive is not supported
SharePoint web controls and some ASP.NET controls are not supported in the SharePoint sandboxed environment; if they are used on a sandboxed visual web part an error message similar to the following will be generated at build time:
The type or namespace name 'Theme' does not exist in the namespace 'Microsoft.SharePoint.WebControls' (are you missing an assembly reference?)