首页 > .net > 如何清除工作流设计器的缓存(缓存内容的位置)?

如何清除工作流设计器的缓存(缓存内容的位置)? (How can I clear the cache of the workflow designer (where does it cache things)?)

问题

每次我改变一些InArgument我的CodeActivity或定义为XOML的活动,它需要一对夫妇的Visual Studio的重新启动和删除硬盘驱动器(不知道哪一部分的实际工作)对我的项目的DLL的所有痕迹,直到变化反映在工作流设计器中。

有没有办法清除工作流设计器/ Visual Studio的缓存,以便我立即反映我为活动所做的更改?

解决方法

最后我找到了原因:我碰巧将我的项目的dll部署到visual studio IDE的PrivateAssemblies文件夹中,这让设计师感到有些困惑。删除后,重建工作与以前一样..

问题

Every time I change some InArgument of my CodeActivity or an activity defined as an XOML, it takes a couple of restarts of Visual Studio and deleting all the traces of my project's dll on the hard drive (not sure which part actually works) until the changes are reflected in the workflow designer.

Is there some way to clear the cache of the workflow designer / Visual Studio so that the changes I have made for the activities are reflected immediately ?

解决方法

Finally I have found the reason : I happened to deploy the dll of my project into the PrivateAssemblies folder of visual studio IDE, that has somehow confused the designer. After removing it rebuild works as before..

相似信息