自定义控制目标属性未按预期运行 [英] Custom Control Target Properties Not Functioning as expected

查看:87
本文介绍了自定义控制目标属性未按预期运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行TFS 2008 SP1和WA SP1。

我已按照上一篇文章中的所有说明进行操作(例如 http://social.msdn.microsoft.com/Forums/en-US/tfswebaccess/thread/31ba4efb-d9f5-4f66-aa03- 1d83365bca74 /
您可以复制布局区域然后设置目标,例如,我有以下
< Layout Target =" WinForms">
... ..
< / Layout>
< Layout Target =" Web">


< / Layout>

从我读过的所有内容,这应该是正确的,但它没有按预期工作....如果我这样离开,VS工作正常,但Web仍然呈现第一个布局。
我尝试了各种方法来解决这个问题,并得到了以下结果:
Web第一,WinForms第二= Web工作正常,但VS不渲染任何东西
空白第一(对于winforms),Web第二=胜利工作,网络仍然呈现f第一个(空白)
两个空白(因为我看到一篇帖子暗示网络拿起第二个项目)=与上面相同

我已经验证了任何布局没有任何问题。我可以让它们自己渲染得很好,我只是不能让它们同时工作。

有没有人知道这个问题,还是有额外的工作?

谢谢,

I am running TFS 2008 SP1 and WA SP1.

I have followed all the instructions on previous post (for example http://social.msdn.microsoft.com/Forums/en-US/tfswebaccess/thread/31ba4efb-d9f5-4f66-aa03-1d83365bca74/)
where you can duplicate the Layout area and then set the target, for example, I have the following
<Layout Target="WinForms">
.....
</Layout>
<Layout Target="Web">
...
</Layout>

From everything I have read, this should be correct, but it does not work as expected.... If I leave it this way, VS works fine, but the Web still renders the first layout.
I tried various things to resolve this, and got the following results:
Web first, WinForms second = Web works fine, but VS does not render anything
Blank first (for winforms), Web Second = win works, web still renders the first (blank)
Both Blank (as I saw a post that suggested that web pick up the second item) = same as above

I have validated that there is nothing wrong with any of the layouts.  I can get them to render fine by themselves, I just can't get them both to work at the same time.

Does anyone know about this issue, or have additional work arounds?

Thanks,

推荐答案

您好,

在布局中每次修改后,您是否重置了Team System Web Access的应用程序池?必须这样做,因为工作项类型定义缓存在应用程序范围中。希望这会有所帮助。

关注
Serkan Inci - MSFT

Hi,

Do you reset app pool of Team System Web Access after each modification in the layout? This must be done because work item type definitions are cached in application scope. Hope this helps.

Regards
Serkan Inci - MSFT


这篇关于自定义控制目标属性未按预期运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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