cometchat-go / xamarin-forms-chat-sdk-demo

CometChat Demo App for Xamarin Forms
6 stars 4 forks source link

namespace name 'Cometchat' could not be found (are you missing a using directive or an assembly reference?) #2

Closed balaameex closed 6 years ago

balaameex commented 6 years ago

Hi I am trying to do a POC for chat, I downloaded the Xamarin forms sample while building android project I got the below error. I restored the Xamarin.Android.Support.Compat package as well still I am getting the error.

/Users/bala/Downloads/xamarin-forms-chat-sdk-demo-master/CometChatFormSample.Android/CometChatImplementation.cs(7,7): Error CS0246: The type or namespace name 'Cometchat' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (CometChatFormSample.Android)

/Users/bala/Downloads/xamarin-forms-chat-sdk-demo-master/CometChatFormSample.Android/CometChatImplementation.cs(7,7): Error CS0246: The type or namespace name 'CometChatUIBinding' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (CometChatFormSample.Android)

/Users/bala/Downloads/xamarin-forms-chat-sdk-demo-master/CometChatFormSample.Android/CometChatImplementation.cs(9,9): Error CS0246: The type or namespace name 'CometChat' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (CometChatFormSample.Android)

Please let me know if I missed anything.

Thanks Balakrishnan S

balaameex commented 6 years ago

In the sample project the Reference dll version is mentioned as 7.1.0 but that version is not available in Nuget store, So I restored with 7.7.0 version.

shettysujeet commented 6 years ago

@balaameex: Can you please let us know whether restoring the version solved the issues or are you still facing the above-mentioned issues. However, we have updated the sample App to the latest available version and tried to replicate the issues but were unable to do so. In case you are still facing the issues, we can have a short TeamViewer session scheduled for better understanding the issue. This is the link to the schedule: https://www.cometchat.com/schedule-session/

balaameex commented 6 years ago

Hi Sujeet, After getting your changes I am able to build the solution and install the demo APP. I will update the License and API key to test and update you. Thanks Balakrishnan.S

shettysujeet commented 6 years ago

@balaameex : It's nice to hear that from you. I am closing this issue. In case you face any other issues you can raise the Support Ticket with Team CometChat. Thank you.