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. Image for the cookie policy date

CS0618: SampleBrowser_2013 obsolete

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

2>C:\Users\cactus\AppData\Local\Syncfusion\EssentialStudio\\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?

2 Replies

PA Parthiban A Syncfusion Team January 20, 2014 03:40 PM UTC

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


Parthiban A.

PA Parthiban A Syncfusion Team January 20, 2014 04:17 PM UTC

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).


Parthiban A.

Live Chat Icon For mobile
Up arrow icon