Page 1 of 1

TFS Build Service Error

Posted: Wed Jan 29, 2014 4:46 pm
by 15667410
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

Re: TFS Build Service Error

Posted: Wed Jan 29, 2014 7:47 pm
by 15667410
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.

Re: TFS Build Service Error

Posted: Thu Jan 30, 2014 3:07 pm
by Christopher
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.

Re: TFS Build Service Error

Posted: Fri Jan 31, 2014 3:03 pm
by 15667410
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.

Re: TFS Build Service Error

Posted: Fri Jan 31, 2014 3:07 pm
by Christopher
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.

Re: TFS Build Service Error

Posted: Mon Feb 03, 2014 3:44 pm
by 15667410
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.