Thursday, February 19, 2009

.NET assembly and SharePoint Workflow

As you may know, Windows SharePoint Services can only be run on Windows Server 2003, it can not be run on Windows XP. But my client side development environment is Windows XP, my Visual Studio is installed on Windows XP. I need a solution to develop workflow programs on my Windows XP instead of Windows Server 2003.

After a long time research, finally I got clear how to develop workflow in Visual Studio on a Windows XP machine.

To do such work, it's very simple, but to understand, it take some time.

Ok, now I just say the simple thing.

All you need to do is just copy the .dll files you need on your machine, then register it in .net.

1. What files you need?
Some assembly dlls. Include Microsoft.SharePoint.dll, and others.

2. Where can I get these files?
These files are in an install sharepoint machine. Directory is at c:\windows\assembly\gac_msil
In that folder, you can see a lot of directories start with Microsoft.SharePoint, copy all thoese folders to your machine.

3. How do I register them?
Open your Control Panel->Administrative Tools->Microsoft .net Framework 2.0 Configuration, then click on the "Assembly Cache", then you can register them.

Ok, now you can enjoy on it!

Search

Google