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

Preview doesn't work for SfButton on Visual Studio Mac

Thread ID:

Created:

Updated:

Platform:

Replies:

142507 Feb 6,2019 10:50 PM UTC Feb 7,2019 03:50 PM UTC Xamarin.Forms 1
loading
Tags: SfButton
Almis B
Asked On February 6, 2019 10:50 PM UTC

When I have SfButton in my XAML the previewer stop working with the following error, this happening on Visual Studio Mac.

MonoTouch.Design.Client.InvalidSessionException: Error in the application.
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x000ac] in /Users/vsts/agent/2.142.1/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:239 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/vsts/agent/2.142.1/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:243 
  at MonoTouch.Design.Client.ServerProcessConnection.RenderXamls (MonoTouch.Design.DesignSession session, MonoTouch.Design.XamlRenderContext context) [0x0000e] in /Users/vsts/agent/2.142.1/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:177 
  at Xamarin.Designer.Forms.Preview.iOSXamlRenderer+<>c__DisplayClass3_0.<RenderXamls>b__0 (MonoTouch.Design.Client.ServerProcessConnection c) [0x00000] in /Users/vsts/agent/2.142.1/work/1/s/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview/iOS/iOSXamlRenderer.cs:56 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<>c__DisplayClass268_0`1[TResult].<EnsureSession>b__0 () [0x002bb] in /Users/vsts/agent/2.142.1/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:2023 
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-06/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:545 
  at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-06/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2344 
--- End of stack trace from previous location where exception was thrown ---

  at Xamarin.Designer.Forms.Preview.iOSXamlRenderer.RenderXamls (MonoTouch.Design.XamlRenderContext context, System.Threading.CancellationToken token) [0x00210] in /Users/vsts/agent/2.142.1/work/1/s/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview/iOS/iOSXamlRenderer.cs:56 

Mugundhan Saravanan [Syncfusion]
Replied On February 7, 2019 03:50 PM UTC

Hi Almis,  
Greeting from Syncfusion. 
We have prepared the simple SfButton sample and we have deployed the sample in Visual Studio Mac. On checking the xaml design with previewer we were unable to reproduce the exception. We have provided the sample with the screenshot of the previewer in iOS. Please check the screenshot as reference from the below link. 
Screenshot: 
 
Please try our sample and check whether you could reproduce the reported issue in previewer. If not please let us know in which scenario you could reproduce the issue. It will help us to provide exact solution for your requirement. 
Regards,
Mugundhan S.
 


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.

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

;