Cyclic Reference in Aspose.Email for .NET to Itself

aspose.email.cyclicref.png (64.5 KB)

Library Aspose.Email have a cyclic reference to itself. What is the purpose of this reference? Can you fix it and remove in future release?

@blackoverlord89

I have created a ticket with ID EMAILNET-39931 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be addressed.

@blackoverlord89

We have internally verified this on our end. It is not a bug but feature of our obfuscator. We may not change this on our end.

But other Aspose libs havent such reference to itself. And calling Assembly.GetReferencedAssemblies method with your library thows StackoverflowException.stackoverlow-exception.png (17.2 KB)
It is obvious that the problem is on your side and needs to be resolved.

@blackoverlord89

Please provide the working sample code reproducing the issue on your end. Secondly, we may not discuss the internal structure of Aspose.Email with our customers as Disassembly of our API violates our license agreement. If you are having trouble in using any of API feature or some thing is failing, you are more than welcome to share with us.

here is working sample code reproducing the issueConsoleApp.zip (8.1 MB)
Problem is on your side in cyclyc reference to itself

@blackoverlord89

I have included the information in our issue tracking system and we will get back to you as soon as feedback will be shared.

@blackoverlord89,
Our development team investigated the issue. Your application code is wrong. It throws an exception without using Aspose.Email: ConsoleAppWithoutAE.zip (23.1 KB).