Tonight I threw together a vsi to add WorkerRole and WebRole class templates for C# and VB. These are classes that are handy to have when you are moving a web project or dll to a cloud service.
Just download the vsi: CloudServiceItems.vsi, then install it. The items are not signed so you will get a warning message. Feel free to just extract the vsi (its just a zip file renamed) and check out the contents if you want, but there isn’t much there to look at.
When you double click the vsi, Visual Studio will launch the installer and you’ll get the following dialog:
Then you’ll get a warning message about it not being signed:
Click Yes and then click Finish and the templates will be installed.
Next time you go to the Add New Item dialog in VS (VB or CS) you’ll have the WebRole and WorkerRole templates listed in the My Template area (like shown below).