visual-studiosharepointdeploymentstsadm

Best project format for VS2005 + SharePoint deployment?


First, let me use one sentence to let out some frustration: My god, developing for SharePoint is a f-ing mess!

OK, sorry, let me focus in on 1 specific scenario. I've developed (VS2005) some functionality that works if I deploy it as a DLL on a SharePoint (MOSS2007) server. Now I'm trying to identify the best way to package it as a deployable Feature.

Based on search results, you'd think no one has ever successfully done this in a repeatable manner! Each article contradicts the next, or documents a technique that patches some problem with someone else's techniques, and in turn is probably updated in yet another article. Many seem based on legacy methods for 2003, WSS, etc. Some recommend using MSBuild tasks to deploy to your code, copying files manually into directories with names like "12", or using tools like SharePoint Designer or to make modifications directly to a server. These sound like hacks that developers would use to install on a test server. Has anyone ever created a project that, after a successful build, can be taken to another machine and deployed with an installer or single command line instruction via STSADM?

I admit that I only have a beginner's knowledge of SharePoint administration, but it must be easier than it seems. I think I understand the basic concepts at http://msdn.microsoft.com/en-us/library/ms413687.aspx but isn't there a way to automate that? There must be one recommended practice for packaging features to be deployed on a 2007 server.. but for the life of me I can't figure out which one it is. (My best guess is that it's something like this: http://www.codeplex.com/sptemplateland, but that hasn't been updated since Feb 2007.)

Can anyone help? Thanks so much!


Solution

  • The 'talk on the street' usually revolves around three options for SharePoint development.

    1. VSeWSS, Microsoft's own extentions for Visual Studio.
    2. STSDEV, pre-creates a VS solution based on your specs
    3. WSPBuilder, my preference because of its VS integration

    All have strengths and weaknesses and I advice you to try out all three to find your preference.

    .b