Free Support Forum - aspose.com

Installing assemblies into web.config

I have my assemblies intalled into the Gac directory, but I need to add them to the web.config. It requires a public key and I cannot find one for 10.2.0 Aspose.words. Can you cut and past a line from the web.config for me

Thanks

Hi

Thanks for your inquiry. Please try using the following line:

<add assembly="Aspose.Words, Version=10.2.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56"/>

By the way, you can get full name of any assembly using code like the following:

System.Reflection.Assembly asm = System.Reflection.Assembly.LoadFile(@"C:\FolderWithYourAssembly\Aspose.Words.dll");

Console.WriteLine(asm.FullName);

Best regards,