Requirements

Visual studio 2008
The Visual Studio solution is a Visual Studio 2008 solution, so Visual Studio 2008 is required for compilation.

WSPBuilder
The solution builds a WSP package using WSPBuilder in a post-build event of the project SPDevExplorer.Solution.
I use version 1.0.5, which is installed through an MSI file. Its default installation path (on my machine) is C:\Program Files\WSPTools\WSPBuilderExtensions.
Make sure that this path is in your PATH environment variable, so the WSPBuilder application can be found:

SetPath.png
Start --> Right clik on Computer --> Properties --> Advanced system settings --> Environment Variables...

You can test if the WSPBuilder application can be found by opening a DOS box and typing in wspbuilder:
WSPBuilderWrong.png

In the above situation you see an error which occurs due to the wrong version of the library gaclib.dll. It seems it installs the 64 bit dll on my 32 bit machine.
You can find the 32 bits version in C:\Program Files\WSPTools\WSPBuilderExtensions\Resources\x86. Copy the dll from here to C:\Program Files\WSPTools\WSPBuilderExtensions.
You now get the expected result:
WSPBuilderOK.png

Compilation

The post-build event of the SPDevExplorer.WebServices project copies the webservice dll to a SharePoint web application bin folder for easy debugging.
Make sure this folder matches your machine configuration for the SharePoint site you want to test and debug this on.
DeployToWebAppBin.png

Last edited Jun 4, 2009 at 10:19 AM by svdoever, version 2

Comments

No comments yet.