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, when Aspose.Drawing is built to workable state...will support .NET6, when Aspose.Drawing (our another library) is...