Licensing issues on a build server (error LC0004)
Posted: Fri Apr 19, 2013 7:00 am
Hello,
we are experiencing problems with a .NET solution on our build server:
[msbuild] Properties\Licenses.licx(1): error LC0004: Exception occurred creating type 'Steema.TeeChart.WPF.TChart, TeeChart.WPF, Version=4.1.2012.1312, Culture=neutral, PublicKeyToken=98e8c3f289a4e286' System.NullReferenceException: Object reference not set to an instance of an object. [d:\Hudson\temp\workspace\7685_Akqui_FIT_Branch4\Akqui.Infrastructure.Charting\Akqui.Infrastructure.Charting\Akqui.Infrastructure.Charting.csproj]
The scenario is as follows
- we have packaged one DLL, TeeChart.WPF.dll with NuGet
- we have added a licenses.licx file to the project's properties. It contains the line "Steema.TeeChart.WPF.TChart, TeeChart.WPF, Version=4.1.2012.1312, Culture=neutral, PublicKeyToken=98e8c3f289a4e286"
- we have installed TeeChart on the build server. Apparently all directories, DLLs etc. are correctly installed in C:\Program Files (x86)\Steema Software\Steema TeeChart for .NET 2012 4.1.2012.01310\
- we have run TeeRegV2010.exe and executed the registration process via the website (the build server cannot access the internet directly)
- Visual Studio is not installed on the build server. We rely only on the installed Framework (4.5) and MSBuild for building, which works fine for all other code and some other external components (DevExpress, dotConnect for Oracle)
- building is possible on developer's machines, but not on the build server, where the process fails with the error message above
What can we do to fix this problem?
we are experiencing problems with a .NET solution on our build server:
[msbuild] Properties\Licenses.licx(1): error LC0004: Exception occurred creating type 'Steema.TeeChart.WPF.TChart, TeeChart.WPF, Version=4.1.2012.1312, Culture=neutral, PublicKeyToken=98e8c3f289a4e286' System.NullReferenceException: Object reference not set to an instance of an object. [d:\Hudson\temp\workspace\7685_Akqui_FIT_Branch4\Akqui.Infrastructure.Charting\Akqui.Infrastructure.Charting\Akqui.Infrastructure.Charting.csproj]
The scenario is as follows
- we have packaged one DLL, TeeChart.WPF.dll with NuGet
- we have added a licenses.licx file to the project's properties. It contains the line "Steema.TeeChart.WPF.TChart, TeeChart.WPF, Version=4.1.2012.1312, Culture=neutral, PublicKeyToken=98e8c3f289a4e286"
- we have installed TeeChart on the build server. Apparently all directories, DLLs etc. are correctly installed in C:\Program Files (x86)\Steema Software\Steema TeeChart for .NET 2012 4.1.2012.01310\
- we have run TeeRegV2010.exe and executed the registration process via the website (the build server cannot access the internet directly)
- Visual Studio is not installed on the build server. We rely only on the installed Framework (4.5) and MSBuild for building, which works fine for all other code and some other external components (DevExpress, dotConnect for Oracle)
- building is possible on developer's machines, but not on the build server, where the process fails with the error message above
What can we do to fix this problem?