I Created a Xamarin.Forms project with a long path, and while building it I get this error:
\"System.IO.PathTooLongException: The specified path, file nam
Probably the easiest temporary solution is to move your project to a drive's root folder to decrease the length of the path.
Try adding this msbuild property in your project that will shorten the file/folder names on the obj directory
<PropertyGroup>
<UseShortFileNames>True</UseShortFileNames>
</PropertyGroup>
Or this to change the output folder to a one closer to the C:\
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<IntermediateOutputPath>C:\MyFolder\MyProj</IntermediateOutputPath>
</PropertyGroup>
Hope it helps.