小编use*_*162的帖子

错误"ResolveLibraryProjectImports"任务意外失败

尝试使用Xamarin在VS2017中编译Android项目时,我遇到了错误.我得到一个字符串类型不允许错误,其中一个建议是更新我所有的Xamarin.Android引用.我发现了一个处理Xamarin.Core的observable的人,所以我安装了它.从那时起,我一直在解决分辨率错误.我已经尝试删除obj和bin目录并重新启动vs和我的笔记本电脑.

这是错误的文本

Error       The "ResolveLibraryProjectImports" task failed unexpectedly.
System.IO.PathTooLongException: The specified path, file name, or both are too >long. The fully qualified file name must be less than 260 characters, and the >directory name must be less than 248 characters.
   at System.IO.PathHelper.GetFullPathName()
   at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 > maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32   >maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 >maxPathLength)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, >Int32 rights, Boolean useRights, FileShare …
Run Code Online (Sandbox Code Playgroud)

android xamarin visual-studio-2017

7
推荐指数
1
解决办法
4900
查看次数

标签 统计

android ×1

visual-studio-2017 ×1

xamarin ×1