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

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. 

 

Eg: C:\Samples\15.3.0.26

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

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8046 10/27/2017 10/27/2017 Miscellaneous Install and Configuration
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.