Hello thanks for your quick reply!
I am running VS2019 enterprise on Windows 10 Home 64 bit.
I see this problem in a simple console application running .Net Framework 4.7.2, Aspose.Pdf version 21.4.0.0
image.png (61.8 KB)
as you can see myVar for every debug cycle is:
“zx_a6f4484774a9446db09e39bf09584858, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_3eb609884b7a4a78a811c16278004fe2, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_f401e0d6379845759b7fd29ef1392266, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_126034efd81a4b07b3e73cd31e3e02ac, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_114818bd514a421fbc3aa4547a6c1f21, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_bf4565ab0e1a4482b00701902968f7fb, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_cf0c7dae8f0e43de9049f5a64ff008ca, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_68433363dfcf425c809dbc3b756e8640, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_e8dd43a3cba2493ea7da9100f2128aad, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_06f7cf6bb72d4c0b97ec5301a7576d5e, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_5b0f1533156d4a23a5a70f3c368ef98b, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_1ba6a95bdd414bdcb25ca1cffaf0e9d6, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_d1a99d14f11a421db77bad52e796a5f1, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_e64482285879478392aafa3f9c9f9269, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_e7dfcaeb7835466a9dc81d39094ef42c, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
“zx_a5efd92cbe6a4309a13121e7d0c4cc33, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
and I cannot understand why it is not “Aspose.PDF, Version=21.4.0.0, Culture=neutral, PublicKeyToken=f0262d67fe233d63”
A piece of code that can show that is the following console application running on .net 4.7.2 by debugging the myVar variable.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aspose.Pdf;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
using (var doc = new Document(@“C:\My_Files\Documents\tmp\output.pdf”))
{
AppDomain.CurrentDomain.AssemblyLoad += (sender, ar) =>
{
var myVar = ar.LoadedAssembly.FullName;
};
doc.Save(@"C:\My_Files\Documents\tmp\output2.pdf");
}
}
}
}
It is difficult to extract a piece of code showing that in my real project since it is huge and I have not a complete undestanding to extract a stand alone part of code.
In the first place I need to understand what are these strange names and if there is any way of obtaining “Aspose.Pdf” instead of “zx_a6f4484774a9446db09e39bf09584858”
regards