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. Image for the cookie policy date

Error CS0117 after adding SfDataGrid DLLs

Hello,

I try to test the SfDataGrid. After adding the references as described in the getting started guide I get 2 Errors saying that
the two resource strings "ApplicationName" and "Hello" are not defined.
I attached a screenshot.
I am testing this with Visual Studio 2015. I created a new solution (Blank App Xamarin Forms Portable)  with nothing in it and just added the DLLs.

Any Ideas, what the problem may be?


Attachment: GridProblem_72e69135.zip

3 Replies

PK Prasanth Karthikeyan Syncfusion Team November 3, 2015 09:50 AM UTC

Hi Jens Bohrmann,

We have analyzed your query “Getting error saying resource strings ApplicationName and Hello are not defined”. In order to resolve this error, you need to update the Xamarin NuGet packages to version 1.4.3.6376 or above. SfDataGrid dlls support from 1.4.3.6376 version of Xamarin NuGets. By default a new solution (Blank App Xamarin Forms Portable) will be created with Xamarin.Forms NuGet package version 1.3.3.6323. So you have to manually update the NuGets to 1.4.3.6376 or above for using our product dlls.

You can update the nuget packages by right clicking on the project and choosing “ManageNugetPackages” option. Or you can use the Tools->NugetPackageManager->PackageManagerConsole to manually update the nuget packages to a particular version.

Please let us know if this helps.

Regards,
Prasanth



JB Jens Bohrmann November 3, 2015 02:57 PM UTC

Hi Prasanth,

this worked. First I had the Problem that my application did not work anymore after upgrading to the latest Xamarin.Forms version
since my App is compiled for API Level 21 and the latest Xamarin.Forms relys on API Level 23. After removing all packages and references and
reinstalling Xamarin Nuget Packages to 1.4.4. now everything works except some warnings about iCCP and an unrecognized sRGB Profile.
But for my small examples I will just ignore these warnings as the app is working correctly.





PK Prasanth Karthikeyan Syncfusion Team November 4, 2015 06:03 AM UTC

Hi Jens Bohrmann,

Thank you for the update.


Please let us know if you require any further assistance on this.

Regards,
Prasanth

Loader.
Up arrow icon