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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CS0618: SampleBrowser_2013 obsolete

Thread ID:





115468 Jan 18,2014 11:29 AM UTC Jan 20,2014 04:17 PM UTC WinForms 2
Tags: Diagram
Gustav Brock
Asked On January 18, 2014 11:29 AM UTC

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?

Parthiban A [Syncfusion]
Replied On 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.

Parthiban A [Syncfusion]
Replied On 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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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