每當我嘗試在我的XAML中引用下面的命名空間時,代碼編譯和項目啓動,但InitializeComponent方法會引發錯誤。這裏的XAML參考:不能使用silverlight命名空間
的xmlns:EI = 「http://schemas.microsoft.com/expression/2010/interactions」
,這裏是使用ExtendedVisualStateManager的
<ei:ExtendedVisualStateManager/>
的錯誤是這:
The type 'ExtendedVisualStateManager' was not found because 'http://schemas.microsoft.com/expression/2010/interactions' is an unknown namespace. [Line: 19 Position: 37]
是否有一個新的命名空間,我需要使用該控件?
我已經有該程序集引用並嘗試使用您的引用程序集的風格,但引發了新錯誤: 找不到'ExtendedVisualStateManager'類型,因爲'clr-namespace:Microsoft.Expression.Interactivity.Core; assembly = Microsoft.Expression.Interactions'是一個未知的命名空間。 [Line:19 Position:37] – Josh 2010-08-18 16:15:05