Warning C4945

When I use some controls, I need to add reference to : - Syncfusion.Tools.Windows - Syncfusion.Shared.Base - Syncfusion..Shared.Windows - Syncfusion.Core But I get this warning: SGMode warning C4945: ''CurrencyCultureEditor'' : cannot import symbol from ''c:\program files\syncfusion\essential suite\assemblies\syncfusion.shared.base.dll'': as ''Syncfusion::Windows::Forms::Tools::Design::CurrencyCultureEditor'' has already been imported from another assembly ''c:\program files\syncfusion\essential suite\assemblies\syncfusion.tools.windows.dll'' My project have the following property: Warning level: Level 4 Treat Warnings As Errors: Yes Then I need to resolve this warning to be able to build. How I can do that ? Regards,

6 Replies

AD Administrator Syncfusion Team February 16, 2005 01:33 PM UTC

Hi Martin, As noted in MSDN you get this warning because the CurrencyCultureEditor class is in the Syncfusion.Windows.Forms.Tools.Design namespace, which is used in the both these assemblies: Syncfusion.Tools.Windows.dll and Syncfusion.Shared.Base.dll Can you try building your application after turning off Treat Warnings As Errors. Regards, Arun


MB Martin Bonneville February 16, 2005 03:36 PM UTC

Hi Arun, If I build after turning off Treat Warnings As Errors all work good. But I need to build with this option turned on. It''s why I need your help ! :-) Best regards, Martin


AD Administrator Syncfusion Team February 16, 2005 05:17 PM UTC

Hi Martin You could use the #pragma warning to disable this warning. You can also disable this specfic warning via your Project Settings. Regards Arun


AD Administrator Syncfusion Team February 16, 2005 07:43 PM UTC

Hi Martin An update to let you know that we will take care of this in the upcoming release. This was due to an oversight as we moved some stuff around in the 3.0 release. Sorry for the inconvenience. Regards Arun


MB Martin Bonneville February 16, 2005 08:53 PM UTC

Hi Arun, When is the next version envisaged? Can I receive an E-mail when the version will be ready? Best regards, Martin


AD Administrator Syncfusion Team February 16, 2005 11:44 PM UTC

Hi Martin We are currently working on getting the new release out. There will be announcements posted on the Website and the forums and you should be able to download it by logging into Direct-Trac. Thank you for your cooperation and continued support for Syncfusion. Regards Arun

Loader.
Up arrow icon