Silverlight 3 RTM中破坏了外部合并词典?

时间:2009-07-13 11:37:16

标签: silverlight-3.0 mergeddictionaries

我只想在引用的程序集中引用资源字典。

程序集名称:ResourceTest.Content

资源字典路径:./ Dictionary2.xaml

这适用于SL3 Beta 1:

<ResourceDictionary Source="ResourceTest.Content;component/Dictionary2.xaml" />

我在Blend 3 + Sketchflow中尝试了这个,这是有效的(在设计时):

<ResourceDictionary Source="pack://application:,,,/ResourceTest.Content;component/Dictionary2.xaml" />

但无论如何,当我从Visual Studio运行时,我收到以下错误:

属性ResourceTest.Content; component / Dictionary2.xaml值超出范围。 [行:10位置:44]

属性pack:// application:,,, / ResourceTest.Content; component / Dictionary2.xaml值超出范围。 [线:11位置:44]

1 个答案:

答案 0 :(得分:1)

尝试在大会名称前添加/:

这应该有用......

相关问题