Hello,
I am experiencing some problems with a name conflict with System.Drawing.StringAlignment where this class can be found in both System.Drawing.dll and TeeChart.Pocket.Dll when I include the TeeChart DLL in my project.
I get the following compile-time error:
The type 'System.Drawing.StringAlignment' exists in both 'c:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Drawing.dll' and '<The path where I placed the dlls>\TeeChart.Pocket.dll'.
I was wondering if you had a fix or a way to work around this conflict.
Please note that when I use the TeeChart.Pocket.Dll from the Evaluation package, I do not get this problem. Also note that I have both TeeChart for .NET v2 2005 & TeeChart for .NET v2 2003 installed on the same machine. I installed both because we are building two flavors of our application with two separate solutions (one with .NET 1.1 and another one with .NET 2.0). The conflict occures with the 2005 version.
Thank you in advance for your help,
Yannick
System.Drawing.StringAlignment in TeeChart.Pocket.Dll
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Yannick,
Thanks for reporting.
We could reproduce and find which is the problem. It will be fixed in the next maintenance release.
Thanks for reporting.
We could reproduce and find which is the problem. It will be fixed in the next maintenance release.
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 |
System.Drawing.StringAlignment in TeeChart.Pocket.Dll
Hi Narcis,
Thank you for your help.
I was wondering when you expect the next maintenance release?
Is there a way I can fix this temporarily?
Thanks,
Yannick
Thank you for your help.
I was wondering when you expect the next maintenance release?
Is there a way I can fix this temporarily?
Thanks,
Yannick
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Yannick,
We will try to have a debug build ready before the end of this week.
I was wondering when you expect the next maintenance release?
We will try to have a debug build ready before the end of this week.
I'm afraid not.Is there a way I can fix this temporarily?
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 |
System.Drawing.StringAlignment in TeeChart.Pocket.Dll
Narcis,
For the sake of completeness of this thread, I believe I found a temporary fix for this problem.
In VS 2005 (it works only with .NET framework 2.0), you can configure an alias for an assembly reference. For example, TeeChart.Pocket.Dll reference can be configured to have the alias name "TeeChartAssembly" instead of the usual "global". This can be done through the Properties of the Reference in the project.
Then, when you get to the source file containing the conflicting references, you need to place "extern alias TeeChartAssembly" at the top of the file (must be the first line of code).
Finally, any reference to "Steema.TeeCh....... " should be preceded by "TeeChartAssembly::" as in "TeeChartAssembly::Steema.TeeChart.Styles"
I was able to build using this procedure.
However, I am really looking forward to getting a copy of this maintenance release as this has an impact on our schedule.
Thank you for your help,
Yannick
For the sake of completeness of this thread, I believe I found a temporary fix for this problem.
In VS 2005 (it works only with .NET framework 2.0), you can configure an alias for an assembly reference. For example, TeeChart.Pocket.Dll reference can be configured to have the alias name "TeeChartAssembly" instead of the usual "global". This can be done through the Properties of the Reference in the project.
Then, when you get to the source file containing the conflicting references, you need to place "extern alias TeeChartAssembly" at the top of the file (must be the first line of code).
Finally, any reference to "Steema.TeeCh....... " should be preceded by "TeeChartAssembly::" as in "TeeChartAssembly::Steema.TeeChart.Styles"
I was able to build using this procedure.
However, I am really looking forward to getting a copy of this maintenance release as this has an impact on our schedule.
Thank you for your help,
Yannick
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Yannick,
A new debug build release has already been posted at our Customer Download Area.
A new debug build release has already been posted at our Customer Download Area.
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 |