We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CS0618: SampleBrowser_2013 obsolete

Thread ID:

Created:

Updated:

Platform:

Replies:

115468 Jan 18,2014 06:29 AM Jan 20,2014 11:17 AM Windows Forms 2
loading
Tags: Diagram
Gustav Brock
Asked On January 18, 2014 06:29 AM

When I try to run the SampleBrowser_2013 project, I receive many warnings like:

2>C:\Users\cactus\AppData\Local\Syncfusion\EssentialStudio\11.4.0.26\WinRT\SampleBrowser\SampleBrowser\obj\x86\Debug\XamlTypeInfo.g.cs(35590,20,35590,37): warning CS0618: 'Syncfusion.UI.Xaml.Diagram.SfDiagram.BringToFront' is obsolete: 'Use Info.Commands.BringToFront'

What is the recommended method to solve this please?



Parthiban A [Syncfusion]
Replied On January 20, 2014 10:40 AM

Hi Gustav,

‘Syncfusion.UI.Xaml.Diagram.SfDiagram.BringToFront’ is obsolete; in our sample browser we are not using those obsolete API's anywhere.

The reported warning is occurred in automated generated file named “XamlTypeInfo.g.cs”, which is metadata file generated at compile time to define xaml definitions in it. Currently we don’t have any workaround to avoid this warning.

As we are not using this api anywhere, it will not cause any issues in application, hence this warning can be ignored. We will remove those obsolete API’s in our future releases


.Regards,

Parthiban A.


Parthiban A [Syncfusion]
Replied On January 20, 2014 11:17 AM

Hi Gustav,

As a workaround you can suppress those warnings by adding those codes in suppress warnings list. Kindly follow below instructions to suppress warnings,

Project (SampleBrowser_2013) àProperties à Build tab,

There you can find suppress warnings field add following codes to it (0618, 0612).


Regards,

Parthiban A.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;