Monday, April 13, 2009

WSPBuilder documentation

I know that the documentation on using the WSPBuilder hasn't been fulfilling to say it nicely, but that's the way it is.

The good thing is that other people have been nice and done some work on this. This is what I have found so far (in random order), sorry if have forgot someone.

WSPBuilder - Walkthrough of the Visual Studio Add-in
http://www.zimmergren.net/archive/2009/04/08/wspbuilder-walkthrough-of-the-visual-studio-add-in.aspx

WSS: Development - Quick Start with WSPBuilder
http://rasor.wordpress.com/2008/10/12/wss-dev-quickstart/

WSS Dev: WSPBuilder Templates
http://rasor.wordpress.com/2008/10/12/wss-dev-quickstart/

WSS Dev: HowTo debug a WebPart
http://rasor.wordpress.com/2008/10/24/wss-howto-debug-a-webpart/

Change the WSPBuilder DeploymentTarget to WebApplication
http://blog.mastykarz.nl/change-wspbuilder-deploymenttarget-webapplication/

Intro to WSPBuilder
http://www.michaelbowersox.com/2009/01/18/intro-to-wspbuilder/

WSPBuilder Folder Structure
http://www.michaelbowersox.com/2009/01/28/wspbuilder-folder-structure/

Developing SharePoint Solutions in Visual Studio
http://greggalipeau.wordpress.com/2008/05/18/developing-sharepoint-solutions-in-visual-studio/

TFS Build and WSPBuilder
http://alex-tfs.blogspot.com/2009/01/tfs-build-and-wspbuilder.html

How to get TFS to automate your WSP builds with WSPBuilder
http://pointstoshare.spaces.live.com/Blog/cns%21AEC42F315B4528B0%213290.entry

The WSPBuilser Manual
http://wspbuilder.codeplex.com/SourceControl/changeset/view/33013#166101

My Blog.
http://keutmann.blogspot.com/2008/02/visual-studio-addin-and-templates-for.html

New! (2009/08/02)

Creating a code-only webpart and deploying as a feature
http://www.sharepointsean.com/articles/Pages/CreatingaCode-Onlywebpartanddeployingasafeature.aspx

Please comment with more links if you know one.

24 comments:

Anonymous said...

Nice to have an index at Mr. WSPBuilder :-)

Unknown said...

I am getting an error when trying to "Build WSP". Here is the error..."Could not load file or assembly 'CabLib, Version=10.2.0.0, Culture=neutral, PublicKeyToken=5c838b77b53f84a0' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

Carsten Keutmann said...

WSPBuilder can not find the CABLIB.DLL because you are using the worng bit version of CABLIB.DLL. You can install the WSPBuilder Extensions and it should install the correct version on your system.

Unknown said...

I have installed the WSPBuilder Extensions but I am getting the same error. Here is the full error I am getting after installing...
Not able to load and reflect on assembly: D:\ClientViewCode\AkinGump\HelloWorldExample\bin\deploy\HelloWorldExample\cablib.dll. However the assembly will still be included in the WSP package!
Saving the Manifest.xml file
Creating the WSP file
Could not load file or assembly 'CabLib, Version=10.2.0.0, Culture=neutral, PublicKeyToken=5c838b77b53f84a0' or one of its dependencies. The system cannot find the file specified.

Is the cablib file supposed to be with the project files? Relatively new to this tool and its setup. In the one project that it worked (not setup by me) is now not working. Just not sure what is the problem. There isn't much on how to trouble shoot issues.

Carsten Keutmann said...

The CABLIB.DLL is a C++ library and therefore you have to use the correct bit version (x86/x64).
You can find the two different versions under "C:\Program Files (x86)\WSPTools\WSPBuilderExtensions\Resources" and the copy the one that matchs your system.

Unknown said...

Yes I see the two different files and I am the 32 bit version. Where is the file supposed to reside? What location in the file system. Is it in the WSPBuilderExtensions folder tree? Somewhere within the Visual Studio folder tree? In a bin folder somewhere? I have done a search for the the DLL and it is only with the VS projects that have a deploy folder and in the resources folder. Sorry to be so dense on this. Thank you for your time.

B1ju said...

Hi,
I have developed an event handler,called TaskListEventHandler, for the Task list ((ItemAdding, ItemDeleting, ItemUpdating) as feasture using the WSP Builder project template, and I have also added a web part, called RegisterEventHandler, which will be used to bind(register) the events to a list. The webpart is WSP Builder template "Webpart without feature".


Defaultly, when i added the new webpart into the project, the .webpart file was created under the folder 80/wpcatalog. But as i wanted the whole project as a singel feature I moved the .webpart file to the Feature/TaskListEventHandler folder. Now the Feature/TaskListEventHandler contains 3 files elements.xml, feature.xml and the RegisterEventHandler.webpart.

I edited the elements.xml, feature.xml and the RegisterEventHandler.webpart

(refer link : http://sharepointinstaller.codeplex.com/Thread/View.aspx?ThreadId=69666 )


Next, i build the poject using the WSP builder, and later create the deployment folder. When i try to install the feature using the WSPBuilder setup.exe file, the feature is getting deployed sucessfully.The feature and the webpart is getting deployed sucessfully. The web part is available in the web part gallery (SiteSetting-> EditPage-> Add a WebPart).



But the webpart's is not under the specific group which i had set in the elements.xml (currently it is shown under the "Miscellaneous" group) , and also the webpart is not shown(visible/available ) under the root site's web parts Galleries (Site Action->Site Settings->WebParts(Galleries) ).



I tried the installing+deploying + activating the feature using the STSADM command(through batch file), it works sucessfully, even the grouping is getting set as per my requirement.




Could anyone please suggest me a solution, how can i get it working using the WSPBuilder's Setup.exe?



With Regards

Anupam Shrivastava said...

Got it working!!!

Just go to C:\Program Files\WSPTools\WSPBuilderExtensions\Resources\x86 and you'll get a CabLib.dll file there. Drag and drop that file in c:\windows\assembly and whoa!!! error gone.

Enjoy!!!

rushme said...

Hi

I am trying to deploy a WSP project using WSP Builder->Deploy.
But keep getting Object Reference not set for a custom .dll.

I have created a Web Service Library,which in turn is referencing the custom .dll.

I have published the custom dll in GAC,but still it doesnt work.

Please help ...........

rushme said...

I keep getting error with WSP->Deploy


Inner Exception(1):This solution contains one or more assemblies targeted for the global cache assembly....

Sensoft2000 said...

You can find the dll in "C:\Program Files\WSPTools\WSPBuilderExtensions\Resources\x86\" folder.

Drag and drop it in C:\windows\assembly folder

Sandhya said...

Thanks a lot..it saved my time.. :)

Brad Fallon said...

to get wsp i need internet explorer, to get internet explorer i need wsp?

Dave said...

Thank you very much for sharing. I am just wondering if I could install WSPBuilder in windows XP without WSS installed?

fico score said...

Is it possible to write assembly language code and combine with visual basic in visual studio 2008?

boy baby shower themes said...

Have you received a job offer from a company called WSP Solution Group?

boom trucks for sale said...

Difference between documentation comment and multiline comment in java?

eb 5 visa program said...

What documentation is required for a foreign, divorced woman in order to marry a Turkish man in Turkey?

continuum south beach said...

my computer blinks when i start it up after like 20 sec and the task bar changes on its own to a different?

Birger said...

Hey
I've just installed WSPbuilder for on a VS2008 on a server 2008(64x) with MOSS 2007 SP3
I can build wsp and deploy them, but when I use the "copy to 12 hive" nothing happens.. no error or info is displayed.
Any suggestions
Regards
Birger

OGEN Infosystem (P) Limited said...

Interesting article, thank you so much for sharing this amazing blog with us. Visit Ogen Infosystem for creative Website Designing and SEO Services in Delhi, India.
Best Website Designing Company in India

Anonymous said...

Where can i find WSPBuilder 2.0 MSI to download ?
i had to reinstall VS2010 to load old projects and i don't have the WSPBuilder Add-in installation.

Need help ...

Beel SEO EXPORT said...

Your weblog is an unnecessary measure of perfect. i've noticed adroitly the thing I was looking. also, the substance energies is first rate. gratitude for the prod! ! MS Office 2019 Crack

Back linker said...

Your weblog is an unreasonable measure of flawless. i've noticed adroitly the thing I was looking. additionally, the substance energies is first rate. gratitude for the push!! Movavi Video Editor Crack