使用UITypeEditors&查找资源工作流程 [英] Locating Resources with UITypeEditors & Workflow

查看:85
本文介绍了使用UITypeEditors&查找资源工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个表单,以在设计时帮助支持自定义活动.
我的设置看起来像这样.

I'm building a form to help support a custom Activity at design time.
My setup looks like so..


WF类库-> UITypeEditor-> Windows表格->
单独的类库---------------------


WF Class Library -> UITypeEditor -> Windows Form ->
                    ------------------ Seperate Class Library ---------------------


在UITypeEditor中,我尝试加载EDM实体以传递给表单.
此操作失败.


Within the UITypeEditor, I attempt to load an EDM entity to pass along to the form.
This fails with .


在配置中找不到指定的命名连接,或者不打算与EntityClient提供程序一起使用,或者无效


  The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid


连接信息很好,真正的问题是EDM初始化时无法正确加载app.config文件.
从单独的Windows应用程序启动时,一切正常,所以在我看来无法找到资源与主机类型有关,在本例中为Visual Studio.


The connection info is fine, the real problem is that the app.config file can't be loaded properly when EDM initializes.
When launched from a seperate Windows app , everything works so it seems to me that the failure
to locate the resource pertains to the host type, in this case Visual Studio.

我尝试在具有相同核心问题的先前方法中使用WPF.找不到控件xaml.我尝试在各处复制
app配置文件以查找匹配项.此外,也请在app.config上进行tweeked Copy Local.没有运气. Urrrggg !!!!!

I tried using WPF in a previous approach with the same core problem. The controls xaml could not be located. I've tried copying
the app config file everywhere looking for a hit. Also, tweeked Copy Local on the app.config as well. No luck. Urrrggg!!!!!


关于如何解决此问题的任何想法?另外,为什么没有专用的wf表格?

谢谢,
Travis


Any ideas on how to approach this? Also, why is there no dedicated form for wf??

Thanks,
  Travis

推荐答案

您的问题很可能是Windows Workflow的常见问题,因此我将您的问题移至非主题".

Your issue is more likely a common Windows Workflow issue, so I moved your question to Off-Topic.

我建议您重新发布 Windows Workflow Foundation 论坛( http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=122&SiteID=1)应该更好地支持您的问题资源.

-lambert


这篇关于使用UITypeEditors&查找资源工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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