Error when opening designer view in VS2005

I'm having a hard time trying to create a custom workflow for Sharepoint Server 2007 using Visual Studio 2005. I've installed the Sharepoint Server SDK as well as Visual Studio Extensions for Windows Workflow Foundation. When I create a new Sharepoint Sequential Workflow project, first problem I get is that the references to the Sharepoint DLL are not ok (exclamation marks in reference branch). So I copy those DLL files from my sharepoint server (I'm developping on a separate xp station) to my station and redo the references to the project. Then I'm able to build the project without problem.

However, when I try to open the Designer view, I get the following error :

Could not load file or assembly 'Microsoft.SharePoint.WorkflowActions.intl', Version=12.0.0.0,Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

I referenced Microsoft.Sharepoint.WorkflowActions to my project...

Anyone got this error? How do I fix this? Do I miss a reference to something?

Thanks in advance!

[1111 byte] By [PhilRobert] at [2008-2-15]
# 1

I have solved this problem in my case

I am guessing that you are developing on a workstation that does not have Sharepoint Installed. Anyhow you need to register microsoft.sharepoint.WorkflowActions.intl.dll in the GAC. Only place i could find it was in the GAC on an installed server but it can be extracted from the GAC by using command prompt.

I have posted the details for my solution in my blog on http://zgud.spaces.live.com/

(it also solves the The type initializer for 'Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated' threw an exception. problem)

Guejón?rnTorsteinsson at 2007-9-5 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...
# 2

I also had an error, when opening the designer for the first time in a new project. You just have to compile the solution one time, then the designer works fine, also with the missing assemblies.

For the assembly problem, you can also copy over the dlls from an installed Sharepoint server and manually include them in your project.

Uwe82 at 2007-9-5 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Workflow...

SharePoint Products and Technologies

Site Classified