Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Using Syncfusion Plugin with Visual Studio for Mac 2019 #75

Open
bbqchickenrobot opened this issue Jul 2, 2021 · 2 comments
Open

Comments

@bbqchickenrobot
Copy link

Hi I am using the VS for Mac 2019 version (latest as of this post) with the Syncfusion plugin however it produces a non-buildable solution. The issue seems to be w/ the UI Kit for Xamarin and not the plugin. I am using all of the latest Nuget packages for both Xamarin Forms and Syncfusion UI Kit. I have attached a screenshot for your review.

There error seems to mention that it's having trouble finding INotifyPropertyChanged:

../CheckoutPageViewModel.cs(22,22): Error CS1061: 'CheckoutPageViewModel' does not contain a definition for 'NotifyPropertyChanged' and no accessible extension method 'NotifyPropertyChanged' accepting a first argument of type 'CheckoutPageViewModel' could be found (are you missing a using directive or an assembly reference?) (CS1061)

Screen Shot 2021-07-01 at 6 16 20 PM
Screen Shot 2021-07-01 at 6 16 36 PM

@bbqchickenrobot
Copy link
Author

Easy enough to figure out - Change the OnPropertyChanged to NotifyPropertyChagned which what the UI Kit page models are requesting.

@YuvarajPalanisamy
Copy link
Contributor

Hi @bbqchickenrobot,

Greetings from Syncfusion.

We have analyzed the reported problem and we would like to let you know that the specified file [BaseViewModel.cs] is already in your application with the same name. And the UI Kit is also having the file in same name [BaseViewModel.cs]. Hence, the UI Kit extension will ignore updating that file in your project to avoid conflicts.

To resolve this, please copy the content from UI Kit BaseViewModel.cs and paste it in your application BaseViewModel.cs file along with the existing content.

Please find the github source file in the below

https://github.com/syncfusion/essential-ui-kit-for-xamarin.forms/blob/master/EssentialUIKit/ViewModels/Transaction/CheckoutPageViewModel.cs

https://github.com/syncfusion/essential-ui-kit-for-xamarin.forms/blob/master/EssentialUIKit/ViewModels/BaseViewModel.cs

Also, we have attached the complete sample for your reference. Please find the sample from the below link.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/CheckoutPageTemplate-161092761

For more information, please refer the below UG link

https://help.syncfusion.com/xamarin/uikit/gettingstarted

Regards,
Yuvaraj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants