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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve path too long exception while running Xamarin samples?

Platform: Miscellaneous |
Control: Install and Configuration

How to resolve path too long exception while running Xamarin samples?

When running Xamarin samples, it did not build and System.IO.PathTooLongException message was shown, until the Essential Studio v15.3.0.33. This was due to NuGet packages that were restored in a path exceeding 260 characters. This can also happen when the files created while building the application in bin/obj folder exceeds 260 characters. Do the following to overcome this issue:

Copy the Xamarin samples folder to a shorter path:

If Xamarin samples have already been installed in a lengthy path, copy the Xamarin samples folder to a shorter path as follows, and then run the samples. 


Xamarin samples folder path

Eg: C:\Samples\

This issue has been resolved by changing the Xamarin samples installation path to a shorter path (Public Documents folder), and the fix will be included in the upcoming releases (after v15.3.0.33) 


Eg: C:\Users\Public\Documents\Syncfusion\{version}\Xamarin


You must log in to leave a comment
Hemalatha Marikumar [Syncfusion]
Jun 22, 2020

To get that work in sample location, unload the project file (Xamarin.Forms Android) and add the below


Again load the project, it will be worked.


Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile