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?
Licensing issues on a build server (error LC0004)
-
- Newbie
- Posts: 3
- Joined: Thu Jan 10, 2013 12:00 am
Re: Licensing issues on a build server (error LC0004)
Hello Robert,
http://www.teechart.net/support/viewtopic.php?t=6711
http://www.teechart.net/support/viewtop ... f=4&t=7677
If your problem persist, could you please tell us which command is you using in msbuild?
Thanks,
My first recommendation is that check if your license is correctly installed following the suggestions of next threads:What can we do to fix this problem?
http://www.teechart.net/support/viewtopic.php?t=6711
http://www.teechart.net/support/viewtop ... f=4&t=7677
If your problem persist, could you please tell us which command is you using in msbuild?
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 3
- Joined: Thu Jan 10, 2013 12:00 am
Re: Licensing issues on a build server (error LC0004)
Hello Sandra,
thanks for your reply. This seems to be more complicated to setup than I thought, so I can't look into it right now. TChart is currently only used for a feature that is nowhere near production-ready.
We don't do anything special with MSBuild. This is what we invoke via NAnt for the relevant solution (referenced here via the property "solutionfile"):
<msbuild project="${solutionfile}" verbose="false">
<property name="Configuration" value="Debug"/>
</msbuild>
Which should be equivalent to "msbuild [SOLUTION].sln", which should be equivalent to "Rebuild solution" in VS 2012.
I'll get back to you once I've had the time to read all the articles and compare them to our build script, configuration etc.
thanks for your reply. This seems to be more complicated to setup than I thought, so I can't look into it right now. TChart is currently only used for a feature that is nowhere near production-ready.
We don't do anything special with MSBuild. This is what we invoke via NAnt for the relevant solution (referenced here via the property "solutionfile"):
<msbuild project="${solutionfile}" verbose="false">
<property name="Configuration" value="Debug"/>
</msbuild>
Which should be equivalent to "msbuild [SOLUTION].sln", which should be equivalent to "Rebuild solution" in VS 2012.
I'll get back to you once I've had the time to read all the articles and compare them to our build script, configuration etc.
Re: Licensing issues on a build server (error LC0004)
Hello Robert,
Thanks for information. We wait your answer.
Thanks,
Thanks for information. We wait your answer.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |