Wednesday, August 15, 2012

How to get the correct uri from an embeded library?

How to get the correct uri from an embeded library?

When I was working with WPF, I had written this sentence:

pack://application:,,,/MathematicsBusiness.PEMDAS;component/ResourceDictionary.xaml 

And it works for WPF.

But I'm a bit confusing using Silverlight. Please, take a look at the image.

enter image description here

I've been looking in the web, but I only find examples where the resources are in the web project, but not as embedded resource.

I've received this error:

Error HRESULT E_FAIL has been returned from a call to a COM component.

Answers & Comments...




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog