According to https://docs.aspose.com/barcode/net/system-requirements/ Aspose.Barcode does not support .NET at the moment. Can you please confirm if this is the case?
In addition to that, Aspose has a dependency to libgd…...NET6 and alternate of System.Drawing.Common Pleae...BarCode support .NET 6 and an alternative to System.Drawing.Common...