WF4.0 Beta 2 Designer中的自定义活动 [英] WF4.0 Beta 2 Custom Activities in Designer

查看:179
本文介绍了WF4.0 Beta 2 Designer中的自定义活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Beta 1中,每当我创建自定义活动时,该活动就会显示在VS2010 Beta 1的设计器工具箱中. Beta 2中似乎没有这种情况.

In Beta 1, whenever I created a custom activity, it would show up in VS2010 Beta 1's designer toolbox.  This doesn't seem to be happening for me in Beta 2.  Is there anything I can do to make these items appear?

推荐答案

有什么我可以做的吗?可以使这些项目出现吗?
Is there anything I can do to make these items appear?


是的,我在VS2010 Beta 2中遇到了同样的问题,并且能够解决它.在我的解决方案中,我有两个项目,但是一个项目文件夹位于包含"sln"目录的目录的父目录中.文件.通过这种安排,我的自定义活动都不会出现在工具箱中.

我将有问题的项目文件夹移到了与"sln"文件夹相同的目录中.文件和其他项目文件夹.为此,我从解决方案中删除了项目,然后使用Windows资源管理器物理移动了文件夹,然后将项目重新添加到解决方案中.

项目文件夹一起位于同一目录中"sln"文件,我的自定义活动重新出现在工具箱中.


Yes, I experienced this same issue with VS2010 Beta 2, and was able to fix it. In my Solution, I had two Projects, but one of the project folders was in the parent directory from the directory containing the "sln" file. With this arrangement, none of my custom activities would appear in the Toolbox.

I moved the offending project folder into the same directory as the "sln" file and the other project folder. I did this by removing the Project from the Solution, physically moving the folder using Windows Explorer, then re-adding the Project back to the Solution.

Once the project folders were all together in the same directory as the "sln" file, my custom activities reappeared in the Toolbox.


这篇关于WF4.0 Beta 2 Designer中的自定义活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆