If you are a SharePoint Developer and are not using Visual Studio 2008 Extensions for Windows SharePoint Services yet, please read Paul Andrew detail how VSeWSS 1.3 March 2009 CTP addresses all common SharePoint Developer requests.
When you are using the extensions, the first thing you might try to do after watching Kirk’s video is use the MOSS SDK Empty SharePoint template to create a very basic feature whose Element Manifest might look like this:
Download ElementManifest1.xml
Warning: Don’t User Add New Item to Create your Manifest!
When adding a new Element Manifest in VSeWSS, the method you use is very important.
|
Don’t use Add | New Item to create a new xml file and type in the above code manually.
You will be able to add the new xml file to the project, but WSP View will not pick it up when you add it this way. If you edit the feature.xml to refer to it, your change will be reverted automatically. |
 |
Method 1: WSP View Create New Feature
Method 2: Add | Exisiting Item
- Repeat Step 1 from Method 1, then download ElementManifest1.xml to your local hard drive.
- Right click the project in Solution Explorer and select Add | Existing Item.
- After you select ElementManifest1.xml, you will see it appear as in the results above for Method 1.
- The ID Attribute will be generated by VSeWSS and inserted into Elements element of the file
- A reference to the manifest will be added to feature.xml.
| Result |
|
Notes
| Double click on the feature or element name in WSP View to rename the feature or solution. |
|
| Right click Deploy from the Solution explorer and your new solution will be added, deployed and your feature activated on localhost:80 by default. |
|
| VSeWSS 1.3 always deploys an assembly in the manifest.xml even in cases like this where it is not necessary |
|