Failing to generate barcode

Here’s the error that I am getting, I have also referenced Aspose.Drawing.Common

image.png (4.5 KB)

Could not load type ‘‘Aspose.Drawing.Color’’ from assembly ‘‘Aspose.Drawing, Version=23.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’’.-Exception has been thrown by the target of an invocation.

@dileepawijay,

Thanks for the screenshot.

Could you please create a standalone sample console application, zip the project and post us, we will check it soon. Also, share your environment details, e.g., OS and its version, .NET framework version, etc.

if I create a standalone it works, but through reflection it doesn’t work

For the version before Aspose.Barcode for .Net 23.5 you should use Aspose.Drawing.Common 23.3/23.4, because in Aspose.Drawing.Common, Aspose.Drawing Team have changed assembly name to Aspose.Drawing.Common.dll from Aspose.Drawing.dll to avoid conflict with Aspose.Drawing and Aspose.Drawing.Common.

You can use Aspose.Barcode for .Net 23.5 with Aspose.Drawing.Common 23.5 with resolved conflict between Aspose.Drawing.Common and Aspose.Drawing.

Aspose.Barcode for .Net 23.5 will be published on nuget in a short time.