A new CTP version of the SharePoint project and item templates for Visual Studio 2008 are available. Remember that an CTP version is still in development, so Microsoft Support doesn’t officially support them.
Download VSeWSS v1.3 March 2009 CTP from the Microsoft Download Center.
Error logging
The descriptive error’s, which I blogged about in “Getting the Visual Studio 2008 extensions for SharePoint v1.3 CTP to work on Windows Server 2008”, are better documented now. VSeWSS creates a log file with debug information, e.g. why the deployment of a web part has failed. Some example errors that VSeWSS shows you are:
- The feature name WebPart1 already exists in SharePoint. You need to rename the feature before solution deployment can succeed.
- The solution can not be deployed. The feature '7c05e196-d953-4b90-a910-0f6802648e7d' uses the directory "MyList instance" in the solution. However, it is currently installed in the farm to the directory "List Definition1 instance". Uninstall the existing feature before you install a new version of the solution.
- No SharePoint Site exists at the specified URL.
VSeWSS 1.3 Overview
For those who are new to SharePoint development with VSeWSS, here is Microsoft’s overview.
This is the SharePoint developer tools for Visual Studio 2008. These tools are suitable for use with Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007. It includes project and item templates for common SharePoint artifacts, it includes build, packaging and deployment for SharePoint solutions and it includes the SharePoint Solution Generator which creates a new Visual Studio 2008 project from a SharePoint site.
The tools provide item templates for List Definition, List Definition from Content Type, Content Type, Field Control, Web Part, Module, Root File, Template, Event Receiver, and List Instance. It provides project templates for Team Site Definition, Blank Site Definition, List Definition, Web Part and Empty. It works with Visual Basic .NET and C# languages and a comprehensive user guide is included. It does not include the SharePoint Workflow templates as they are built in with Visual Studio 2008.
New features in version 1.3 include:
- Can be installed on x64 Server OS machines running SharePoint x64. Previously only x86 Server OS could be used
- Separate build commands for package, deploy and retract are added as Visual Studio menu items
- WSP View improvements for consistency of deleting feature elements, merging features and adding event receivers to features
- Command line build, package and retract commands are included enabling continuous integration and build servers. Previously command line build of SharePoint projects was very difficult
- Refactoring support for renaming of Web Parts. Previously renaming a web part required changes in several files in the project
- Solution Generator can now generate solutions from publishing sites. Previously only regular sites could be generated
- Allowing partial trust BIN deployments of web parts
- New project item template for SharePoint RootFiles items
- Deployment will now optionally remove conflicting existing features on the development server prior to redeployment. Previously any feature name conflicts would result in an error
- Ancillary assemblies such as for business logic can now be added to the SharePoint Solution WSP
- Hidden features related to Site Definition projects are now shown in WSP View. They are no longer hidden
- For advanced users a fast deploy is included to update only the compiled assembly on the SharePoint development installation
- Deployment step logging is included
- The List Definition from Content Type template now allows for the creation of a List Definition Event Receiver
- The User Guide is now installed with the extensions instead of being a separate download