views:

390

answers:

3

I'm trying to build a C# solution in Visual Studio 2008 written by other programmer. Visual Studio throws the following error:

Exception occurred creating type 'SoftwareFX.ChartFX.Chart, ChartFX, Version=6.2.1342.0, Culture=neutral, PublicKeyToken=a1878e2052c08dce' System.ComponentModel.LicenseException: Couldn't get Design Time license for 'SoftwareFX.ChartFX.Chart'

I've never used SoftwareFX or ChartFX. Actually I'm C/C++ developer, not C# developer but have to debug this project. How to resolve this issue?

Thanks in advance.

+1  A: 

You need to install a licensed version of ChartFX, then reopen Visual Studio, and this should go away.

The error message is saying that you're trying to build a project that uses ChartFX, but do not have a valid license.

Reed Copsey
+1  A: 

I've found a way: making licenses.licx file a 0 byte file. After this the solution builds.

Donotalo
A: 

Well, that will make it compile but it will fail at run-time when you try to display a chart in your app in a computer that doesn't have a Chart FX license.

Frank