sharepointdeploymentsharepoint-2010wsp

Can't find workflow deployed as WSP solution (when I deploy it from VS it works)


I am new to SharePoint, sorry if answer to my question is obvious.

I am trying to deploy my very simple workflow as WSP package, it deploys without errors, I activate it, but I can't find my workflow and associate it with list. Could you help me, please, what I do wrong?

I do it so:

  1. Create empty projectCreate empty project

  2. Choose trust level as a Farm solutionenter image description here

  3. Add State Machine Workflowenter image description here

  4. Choose list Workflowenter image description here

  5. Associate workflow with list Taskenter image description here enter image description here

  6. Create simple workflow enter image description here

  7. Press CTRL-F5 in VS2010, and see that WF appears enter image description here enter image description here

  8. Pack it to WSP package enter image description here

  9. Upload and activate it.
    enter image description here enter image description here enter image description here enter image description here

  10. Check is it associated to list. It doesn't. enter image description here

  11. Try to associate it manually, but I can't see it. Why? Where is my error? enter image description here enter image description here

I try to google about the problem, but find nothing. I think that I missed something important in basic priciples, but I can't understand what. Help me please.

Thank you in advance.


Solution

  • I've found the answer. The root of the problem is next: I've tryed to add WSP Farm solution to sandbox solution gallery. I have to use another way for deploying, for example PowerShell.

    PS: Thanks to Balamurugan-S KAUST answer