Shared attribute in namespace
‘http://schemas.microsoft.com/winfx/2006/xaml’
can be used only in compiled resource
dictionaries.
How to get out from this error, when working with xaml in dll/class library ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check if this helps
http://social.msdn.microsoft.com/Forums/en/wpf/thread/216762d4-ce21-4888-8d98-bbe4d30f7a03
In summary, Shared is only legal under the following conditions: