This is a migrated thread and some comments may be shown as answers.

Best overloaded method

1 Answer 80 Views
Diagnostics
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Justin
Top achievements
Rank 1
Justin asked on 17 Feb 2012, 02:31 AM
I'm receiving two errors when trying to implement this control:

Error    1    The best overloaded method match for 'Telerik.Windows.Controls.ApplicationUsageHelper.Init(string)' has some invalid arguments
Error    2    Argument 1: cannot convert from 'double' to 'string'

Here is some of my code:
// Global handler for uncaught exceptions.
            UnhandledException += Application_UnhandledException;
 
            // Standard Silverlight initialization
            InitializeComponent();
 
            // Phone-specific initialization
            InitializePhoneApplication();
 
            RadDiagnostics diagnostics = new RadDiagnostics();
            diagnostics.EmailTo = "email";
            diagnostics.Init();
            diagnostics.ApplicationName = "app";
            diagnostics.ApplicationVersion = "1.1";
            diagnostics.IncludeScreenshot = true;          
 
private void Application_Launching(object sender, LaunchingEventArgs e)
        {
            CheckTrialMode();
            ApplicationUsageHelper.Init(1.1);
        }

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 17 Feb 2012, 09:33 AM
Hello Justin,

Are you by any chance mixing the Beta binaries with the official once?

In Beta we had were using "double" for the application version, but for the official release we are using String. You may need to update your project.

I'm also attaching a sample project so you can see what is the proper setup. Please let us know how it goes.

Kind regards, Valentin.Stoychev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Diagnostics
Asked by
Justin
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or