Problems with licensed 3rd party controls

we use janus control suite.
when i try to build a vb.net project that references one of the janus components, i get an error like this:

D:\FinalBuilder_Builds\Developer Hourly\Source\AM.NET\CDS Forms\Utilities\licenses.licx(2) : error LC0003 : Unabled to resolve type 'Janus.Windows.EditControls.UIButton, Janus.Windows.UI.v2, Version=2.0.1197.0, Culture=neutral, PublicKeyToken=21d5517571b185bf’

Creating Licenses file D:\FinalBuilder_Builds\Developer Hourly\Source\AM.NET\CDS Forms\Utilities\obj\Debug\utilities.dll.licenses…

Error compiling licenses file : D:\FinalBuilder_Builds\Developer Hourly\Source\AM.NET\CDS Forms\Utilities\licenses.licx

-We have the janus suite installed on the build server.
-i can build just fine with nant using the solution task on the build server.
-the path to the janus assemblies (C:\program files\janus\foo\bin) is included in the libpaths property for the build step.
-the licenses.licx file is correct regarding versions and assembly names.
-the janus assemblies do not get GAC installed.

Hi Philip,

You may need to send us the complete log output and project file before we can confirm this issue, but this sounds like it may be the same kind of referencing problem that you had the other day.

Does the log mention anything about resolving any of the Janus assemblies? If it does, are the DLL file names correct? If you fix the file names in the OnResolveProjectReference event, does that fix the problem?

Regards,


Angus

PS I don’t know if this is an option for you, but another way around these assembly resolving issues is to just use the “VS.NET Solution” action to build the actual solution instead of just the project.

Hi Phil

I’m on vacation this week but couldn’t help myself, had to reply to this one…

The issue is I believe caused by the fact that the license compiler does not copy the licensed assemblies to the output folder, try copying them there first. I spent several weeks on this issue last year for another customer who was also using the Janus controls (I tested using the eval version). The license compiler in the .net sdk has a bunch of issues (do a google for the LC0003 error) that microsoft have ignored.


HTH



so with a vanilla vb.net project using licensed Janus assemblies…
i’m gonna have to copy the Janus dll’s over to the bin folder for the vb project…then the next final builder step would be the vb project compiler…

would be nice to see a ‘LC’ action in final builder. especially since there is a striong name assembly action step, and action steps for the other .net sdk command line tools.

Oh well.
THanks…
you’ve pointed me in the right direction, ill try this on tues when i get back to work.