问题
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:
Create empty project
Choose trust level as a Farm solution
Add State Machine Workflow
Choose list Workflow
Associate workflow with list Task
Create simple workflow
Press CTRL-F5 in VS2010, and see that WF appears
Pack it to WSP package
Upload and activate it.
Check is it associated to list. It doesn't.
Try to associate it manually, but I can't see it. Why? Where is my error?
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.
回答1:
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
来源:https://stackoverflow.com/questions/9680544/cant-find-workflow-deployed-as-wsp-solution-when-i-deploy-it-from-vs-it-works