无法添加自定义活动到VS 2012的工作流程

编程入门 行业动态 更新时间:2024-10-18 03:21:46
本文介绍了无法添加自定义活动到VS 2012的工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经创建并内置在Visual Studio 2012工作流活动库项目,并创建了一个HelloWorld.xaml活动如下:

I've created and built a Workflow Activity Library project in Visual Studio 2012, and created a HelloWorld.xaml activity as follows:

pretty的基础,没有多余的装饰。不过,我似乎无法向此活动添加到我复制一个工作流模板。该活动显示在工具箱就好了,但是当我试图把它拖到设计师在适当的位置在图表上的鼠标光标变为标准的禁止圆圈上带有一个行的形象和活动ISN牛逼放置。

Pretty basic, no frills. However, I can't seem to add this activity to a workflow template that I've copied. The Activity shows up in the Toolbox just fine, but when I try to drag it into the designer in an appropriate spot on the diagram the mouse cursor changes to the standard "disallowed" circle-with-a-line image and the activity isn't placed.

时有什么我根本缺少在这里?我的理解是,在工具箱中的任何活动应该能拖&放;投进设计师。

Is there something I'm fundamentally missing here? My understanding is that any activity in the Toolbox should be able to be dragged & dropped into the designer.

推荐答案

请舒尔你有一个参考,你要添加到您的工作流程中的活动的项目。

Make shure you have a reference to the project of the activity you want to add to your workflow.

更多推荐

无法添加自定义活动到VS 2012的工作流程

本文发布于:2023-11-28 13:55:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642676.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自定义   工作流程

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!