TFS Build Service Error

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
DaveR
Newbie
Newbie
Posts: 10
Joined: Fri Oct 04, 2013 12:00 am

TFS Build Service Error

Post by DaveR » Wed Jan 29, 2014 4:46 pm

I am attempting to add a project to our TFS Build server. I have the latest copy of TeeChart .Net installed on both my development machine and the TFS build machine. When I run the build script, I get the following error:

My Project\licenses.licx (11): Unable to resolve type 'Steema.TeeChart.TChart, TeeChart, Version=4.1.2012.1312, Culture=neutral, PublicKeyToken=9c8126276c77bdb7'

If I look at the licenses.licx file, I do see the Steema.TeeChart line in that file. If I open a new project in Visual Studios on the actual TFS Build Server and drop a TeeChart chart onto a form, the licenses.licx file is created and contains the identical line. So, I know the proper version of TeeChart is installed and is recognized by a local copy of Visual Studios.

Any thoughts on how to make the TFS build script process recognize the TeeChart control? I have read the couple forum postings here from a few years ago. No real help there.

System Specifics:

TFS machine is Windows Server 2008- 64 Bit.
Project is coded in Visual Studios 2010 -vb.Net
TFS version running on the server is 2012.

Thanks!

Dave

DaveR
Newbie
Newbie
Posts: 10
Joined: Fri Oct 04, 2013 12:00 am

Re: TFS Build Service Error

Post by DaveR » Wed Jan 29, 2014 7:47 pm

Just a quick follow-up with a bit more info:

- After installing TeeChart on the TFS build server, I do have the DesignKeyV2010 key HKEY_LOCAL_MACHINE\Software\Steema\TeeChart.NET.

- The License file is built as part of the project. Looks correct to me.

- I tried the TRegister tool. It seemed to run fine, but changed nothing.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: TFS Build Service Error

Post by Christopher » Thu Jan 30, 2014 3:07 pm

DaveR wrote:Just a quick follow-up with a bit more info:

- After installing TeeChart on the TFS build server, I do have the DesignKeyV2010 key HKEY_LOCAL_MACHINE\Software\Steema\TeeChart.NET.

- The License file is built as part of the project. Looks correct to me.

- I tried the TRegister tool. It seemed to run fine, but changed nothing.
The problem could be that:

HKEY_LOCAL_MACHINE\Software\Steema\TeeChart.NET

should be:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Steema Software\TeeChart.NET

on a x64 machine. There this a tool you can download to re-register your licence on your x64 machine, which is talked about here. There are a number of other licensing issues which are talked about here, just for your information.
Best Regards,
Christopher Ireland / 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

DaveR
Newbie
Newbie
Posts: 10
Joined: Fri Oct 04, 2013 12:00 am

Re: TFS Build Service Error

Post by DaveR » Fri Jan 31, 2014 3:03 pm

Thanks for trying.

I was aware of TeeReg from reading earlier posts before asking the question. I had downloaded and run that. I can see that the additional entry is in both Steem Software locations in the registry. Even with those in place, the TFS Build compilation fails.

I have come across Internet postings which lead one to adding registry settings for things like LocalMachine/Software/Microsoft/.Net Framework/AssemblyFolders. Are you aware of any such entries that might be needed for the TeeChart dll to be recognized by the TFS Builder?

Thanks.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: TFS Build Service Error

Post by Christopher » Fri Jan 31, 2014 3:07 pm

DaveR wrote:I have come across Internet postings which lead one to adding registry settings for things like LocalMachine/Software/Microsoft/.Net Framework/AssemblyFolders. Are you aware of any such entries that might be needed for the TeeChart dll to be recognized by the TFS Builder?
I'm afraid I have no experience whatsoever with TFS Builder. I'm sorry.

Yes, the installer does add an entry to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\TeeChart

which is the path to the TeeChart.dll. You may consider adding TeeChart.dll to the GAC to see if that helps at all.
Best Regards,
Christopher Ireland / 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

DaveR
Newbie
Newbie
Posts: 10
Joined: Fri Oct 04, 2013 12:00 am

Re: TFS Build Service Error

Post by DaveR » Mon Feb 03, 2014 3:44 pm

I did not see the entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\TeeChart. After adding the path to the Steema Software\Steema TeeChart...\x86 folder there, TFS did pick it up. Looks like that was the missing piece.

Post Reply