Create a New SharePoint Sandbox Solution in Visual Studio 2010
- Open Visual Studio 2010.
- Press CTRL+SHIFT+N to open the New Project dialog.
- Select SharePoint | 2010 under the language of your choice and Empty SharePoint Project.
- Ensure that .NET Framework 3.5 is selected as the target framework, enter your solution's name and click OK.
- The SharePoint Customization Wizard displays. Enter the URL to your development server. Ensure that Deploy as a sandboxed solution is selected and click Finish.
- If you need to change the Site URL to debug on a different server or site collection, select the project node in Solution Explorer and change the value of the Site URL property.