Sorry for the inconvenience faced. Unfortunately I couldn't reproduce the reported issue at my side. As in your case, when you don’t specify license path API tries to locate license file in current directory. Could you please double check the current directory using System.IO.Directory.GetCurrentDirectory() and availability of license there?
Moreover please give another try with absolute path whether issue persists?
string licPath = (@"E:\aspose\License\");
Aspose.Imaging.License license = new Aspose.Imaging.License();
license.SetLicense(licPath + "Aspose.Total.Product.Family.lic");
Please feel free to contact us for any further assistance.
Thanks works fine when placed in separate folder and set license from that path.
It’s good to know that you have achieved the desired results.
I agree with you definitely Aspose.Imaging should work with license file in bin folder. Could you please share a sample console application and your environment details to reproduce and investigate the issue?