We are trying to upgrade our system from "TeeChart for .NET v2 Evaluation" to "Final Release" which is "TeeChart for .NET v2". TeeChart.dll version number is "2.0.2179.21172".
We are not able to compile with the final release. We are getting the following error while compiling.
Error 1 The "GenerateResource" task failed unexpectedly.
System.Reflection.TargetInvocationException: Type in the data at line 228, position 5, cannot be loaded because it threw the following exception during construction: Unable to cast object of type 'System.Object[]' to type 'Steema.TeeChart.Styles.StringList'. ---> System.Xml.XmlException: Type in the data at line 228, position 5, cannot be loaded because it threw the following exception during construction: Unable to cast object of type 'System.Object[]' to type 'Steema.TeeChart.Styles.StringList'. Line 228, position 5. ---> System.InvalidCastException: Unable to cast object of type 'System.Object[]' to type 'Steema.TeeChart.Styles.StringList'.
at Steema.TeeChart.Import.Imports.DeserializeFrom(SerializationInfo info, StreamingContext context)
at Steema.TeeChart.Chart..ctor(SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception e)
at Microsoft.Build.Tasks.ProcessResourceFiles.ProcessFile(String inFile, String outFile)
at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, ArrayList inputs, ArrayList outputs, Boolean sourcePath, String language, String namespacename, String filename, String classname, Boolean publicClass)
at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, ArrayList inputs, ArrayList outputs, Boolean sourcePath, String language, String namespacename, String filename, String classname, Boolean publicClass)
at Microsoft.Build.Tasks.GenerateResource.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) Receivables
Please help me solving this proble.
I'll appreciate any help.
Thanks, Kartic
Unable to Compile
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Kartic,
Can you please have a look at this forums thread, which is about the same issue, to see if it helps solving your problem.
Can you please have a look at this forums thread, which is about the same issue, to see if it helps solving your problem.
Best Regards,
Narcís Calvet / 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 |
Unable to Compile
Error does not indicate in which form the error exists.
Even if I add a new Tee chart to a new form, I cannot open a old form with TeeChart, or compile my project.
It is failing to execute "GenerateResource" in Microsoft.Common.targets
Kartic
Even if I add a new Tee chart to a new form, I cannot open a old form with TeeChart, or compile my project.
It is failing to execute "GenerateResource" in Microsoft.Common.targets
Kartic
narcis wrote:Hi Kartic,
Can you please have a look at this forums thread, which is about the same issue, to see if it helps solving your problem.
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hello Kartic,
If you would be so kind, we are going to need your help to be able to track this issue down.
From which version of TeeChart for .NET were you upgrading? Could you please try creating a new VS2003 WinForm project and adding a TeeChart for .NET control (your original, older version) to it and then add a series to the chart using the chart editor. If you now upgrade this project to VS2005 and the latest version of TeeChart for .NET, can you reproduce this error?
I believe this error is due to a line of code that is automatically written into the InitializeComponent() method of the WinForm by older versions of TeeChart.
If you would be so kind, we are going to need your help to be able to track this issue down.
From which version of TeeChart for .NET were you upgrading? Could you please try creating a new VS2003 WinForm project and adding a TeeChart for .NET control (your original, older version) to it and then add a series to the chart using the chart editor. If you now upgrade this project to VS2005 and the latest version of TeeChart for .NET, can you reproduce this error?
I believe this error is due to a line of code that is automatically written into the InitializeComponent() method of the WinForm by older versions of TeeChart.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/