First of all I want to underline that on the compilation machine it has never been installed Syncfusion EssentialSuite.
Our application uses the following libraries:
Syncfusion.Edit.dll
Syncfusion.Grid.dll
Syncfusion.Tools.dll
Syncfusion.Shared.dll
Followed procedure:
- licenses.licx is created on a machine with Syncfusion EssentialSuite installed and the contents ids the following:
Syncfusion.Windows.Forms.Tools.CalculatorControl, Syncfusion.Tools, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89
Syncfusion.Windows.Forms.ColorPickerButton, Syncfusion.Shared, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89
Syncfusion.Windows.Forms.Grid.GridControl, Syncfusion.Grid, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89
Syncfusion.Windows.Forms.Edit.EditControl, Syncfusion.Edit, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89
- following command has been launched:
lc /target:SymbolicNameNavigator.exe /complist:licenses.licx /i:Syncfusion.Edit.dll /i:Syncfusion.Tools.dll /i:Syncfusion.Shared.dll /i:Syncfusion.Grid.dll /outdir:.
With the result:
Microsoft (R) .NET License Compiler
[Microsoft .Net Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Processing complist ''licenses.licx''...
licenses.licx(1) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.Tools.CalculatorControl, Syncfusion.Tools, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
licenses.licx(2) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.ColorPickerButton, Syncfusion.Shared, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
licenses.licx(3) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.Grid.GridControl, Syncfusion.Grid, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
licenses.licx(4) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.Edit.EditControl, Syncfusion.Edit, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
Creating Licenses file .\symbolicnamenavigator.exe.licenses...
After this fail, we have tried to register the DLLs on the GAC with the following command:
D:\Tmp>gacutil /i d:\prova\Syncfusion.Shared.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Assembly successfully added to the cache
D:\Tmp>gacutil /i d:\prova\Syncfusion.Tools.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Assembly successfully added to the cache
D:\Tmp>gacutil /i d:\prova\Syncfusion.Edit.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Assembly successfully added to the cache
D:\Tmp>gacutil /i d:\prova\Syncfusion.Grid.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Assembly successfully added to the cache
Now, the procedure has been repeated:
lc /target:SymbolicNameNavigator.exe /complist:licenses.licx /i:Syncfusion.Edit.dll /i:Syncfusion.Tools.dll /i:Syncfusion.Shared.dll /i:Syncfusion.Grid.dll /outdir:.
With the following result:
Microsoft (R) .NET License Compiler
[Microsoft .Net Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Processing complist ''licenses.licx''...
licenses.licx(1) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.Tools.CalculatorControl, Syncfusion.Tools, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
licenses.licx(2) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.ColorPickerButton, Syncfusion.Shared, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
licenses.licx(3) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.Grid.GridControl, Syncfusion.Grid, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
licenses.licx(4) : error LC0003 : Unabled to resolve type ''Syncfusion.Windows.Forms.Edit.EditControl, Syncfusion.Edit, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89''
Creating Licenses file .\symbolicnamenavigator.exe.licenses...
Question:
- License file must be unique, or we can use it for many applications ?