Aspose email missing name space Aspose.Email.Windows.Forms

Hi

I have for a company uses aspose.email v 23.2 in a .net 4.8 framework winforms application.

I have now made a .net 8 winforms application and installed aspose.email from NuGet.

But now I don’t have the namespace Aspose.Email.Windows.Forms.

I want to enable drop and drag from outlook to my app, but without this namespace I don’t know how to do it.

It used to be code like this:

class MyPanel : System.Windows.Forms.Panel
{
private Aspose.Email.Windows.Forms.FileDropTargetManager manager;

// Hook up
protected override void OnHandleCreated(EventArgs e)
{
    this.manager = new Aspose.Email.Windows.Forms.FileDropTargetManager(this);
    this.manager.EnsureRegistered(this);
    base.OnHandleCreated(e);
}

// Unhook
protected override void OnHandleDestroyed(EventArgs e)
{
    this.manager.EnsureUnRegistered(this);
    base.OnHandleDestroyed(e);
}

}

Is it not possible to do a drag/drop from outlook to winforms anymore ?
Is it only in .net framework before .net 6 it works ?

Hello @John098,

Welcome to our support forum!

Aspose.Email versions for .NET Core are cross-platform. However, Aspose.Email.Windows.Forms depends on System.Windows.Forms, which is only supported on Windows. Therefore, Aspose.Email.Windows.Forms namespace is available only in the .NET Framework versions.

Currently, we are considering releasing Aspose.Email versions for .NET 8 that are Windows-specific. Please stay tuned for upcoming releases.

Thank you.