Silverlight

Hi,

When I add the reference - Apose.Email.dll to my Silverlight project it displays a message...

You can't add a reference to Aspose.Email.dll as it was not built against the Silverlight runtime. Silverlight projects will only work with Silverlight assemblies.

Has anyone successfully used Aspose Email in a Silverlight project?

Gary

Hi Gary,

Thanks for writing to Aspose.Email support team.

I regret to share that Aspose.Email doesn’t support Silverlight at the moment. Actually, Silverlight applications can’t reference .NET assemblies. Silverlight uses different CLR to the rest of .NET, known as the CoreCLR. The CoreCLR is a stripped down version containing only the stuff deemed necessary by the Silverlight team.

Silverlight is meant to run in a “sandbox” whereby many the unsafe features such as direct access to the file system are not allowed. Silverlight is missing core features and types such as: ArrayList, Hashtable, SortedList, System.ICloneable, System.Drawing (GDI+), BinarySerializer and the [Serializable] attribute that are used in Aspose.Email.

For your kind reference, please visit the following links as well:

[http://stackoverflow.com/questions/4912306/add-refrence-problem-in-silverlight](http://www.netfxharmonics.com/2008/12/Reusing-NET-Assemblies-in-Silverlight)

http://www.netfxharmonics.com/2008/12/Reusing-NET-Assemblies-in-Silverlight

Please feel free to write us back if you have any other query related to Aspose.Email.

Thanks Hashif,

This information was very useful...I am now trying another option instead of Silverlight by using a C# custom action that does allow me to reference Aspose.Email.

It looks like Silverlight is not the way to go as it is no longer being developed by Microsoft.

Regards

Gary

Hi Gary,


Thanks for understanding in this regard. Please let us know if we could be of any additional help to you regarding Aspose.Email. We’ll be glad to assist you further.