I am trying to set my license in .net but SetLicense() throws a System.InvalidOperationException: ‘Failed to set license. Details: ‘=’ is an unexpected token. The expected token is ‘;’. Line 19, position 141.’
Here is my code:
Aspose.BarCode.License lic = new Aspose.BarCode.License();
lic.SetLicense(@“C:\lic\Aspose.BarCode.lic”);
Could my license file be incorrect?