Jump to content
Software FX Community

Can't run winforms app without ChartFX installed


User (Legacy)

Recommended Posts

2 related problems:

Problem 1) I've added ChartFX.Lite to a .Net windows forms app and can't

install and run the app on a machine without ChartFX installed. Is the

answer to embedd the Lincense.licx file in the app as an embedded resource?

Problem 2) I added the license.licx file in my app as an embedded resource,

and now can't compile. I get the following error:

"Could not transform licenses file 'Licenses.licx' into a binary resource.

(1) : error LC0003 : Unabled to resolve type 'SoftwareFX.ChartFX.Lite.Chart,

ChartFX.Lite, Version=6.0.839.0, Culture=neutral,

PublicKeyToken=a1878e2052c08dce'"

Please help!

Thanks!

Dustin-

Link to comment
Share on other sites

The .Licx file must be compiled into your EXE as licenses.resources.

This is done automatically by Visual Studio when you build an EXE. If you

are using Chart FX from a DLL, you must include the .LICX (with the

information about Chart FX) inside the EXE that uses your dll.

Check out the following KB articles for more information:

Q6101001. How to deploy a WinForms Application when it contains a wrapper

object using Chart FX for .NET

Q6101008. Using Chart FX for .NET Windows Forms control from a DLL

Q6101010. How to manually add a Chart FX license to an executable

--

FP

Software FX

Link to comment
Share on other sites

Thanks, but this turned out to be a mismatched version problem.  The 

ChartFX.Lite.dll that I was referencing was version 6.0.1551.24517, but my

license.licx referenced version 6.0.839.0. That was due to following the

instructions in KB article Q6101001, which points to an outdated version:

2) You will then need to create a licenses.licx file and place the following

text in it. SoftwareFX.ChartFX.Chart, ChartFX, Version=6.0.839.0,

Culture=neutral, PublicKeyToken=a1878e2052c08dce

Dustin-

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:YM9jnKmMFHA.1660@webserver3.softwarefx.com...

> The .Licx file must be compiled into your EXE as licenses.resources.

>

> This is done automatically by Visual Studio when you build an EXE. If you

> are using Chart FX from a DLL, you must include the .LICX (with the

> information about Chart FX) inside the EXE that uses your dll.

>

> Check out the following KB articles for more information:

>

> Q6101001. How to deploy a WinForms Application when it contains a wrapper

> object using Chart FX for .NET

> Q6101008. Using Chart FX for .NET Windows Forms control from a DLL

> Q6101010. How to manually add a Chart FX license to an executable

>

> --

> FP

> Software FX

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...