Question

We we trying to create a work flow dll using Windows Work Flow but we are running into major problems regarding referencing.

1.) We have a class that calls an activity but the class cannot pick up the activity that has already been created

WorkflowAcivity workflowActivity = new WorkflowActivity(string id)

This then throws an error message saying cannot find WorkflowActivity

2.) We then added extra assemblies, like one of our other dll's, Visual Studio also cant find these references when we call a class in those dll's we are referencing.

enter image description here

3.) Intellisence has also stopped working??

enter image description here

enter image description here

What do we do to fix this, is it the version we are using or are there any other assemblies we are missing here??

We have tried opeing the solution on another pc, uninstalled vs 2012 and installed vs 2013 and still have no luck!

Était-ce utile?

La solution

Got caused by System.Net.Http.Primitives.dll referencing some dll's that were missing and caused the workflow to break without any warnings.

Removing this dll or adding the referenced dlls back in (System.Runtime.dll and System.Runtime.InteropServices.dll) fixed the problem.

Microsoft ticket for this.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top