程序包“Microsoft.VisualStudio.Xamarin.Preparation,version = 15.0.26228.0”无法安装。 [英] Package 'Microsoft.VisualStudio.Xamarin.Preparation,version=15.0.26228.0' failed to install.

查看:284
本文介绍了程序包“Microsoft.VisualStudio.Xamarin.Preparation,version = 15.0.26228.0”无法安装。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使用VS2017安装程序安装Xamarin。我已经在几天内多次下载了最新的安装程序并得到了相同的结果。


我已经按照删除安装文件,运行清理程序,卸载/重新安装的故障排除建议。我正在使用所有更新的表面专业4胜10。我已经关闭了hyperv管理工具和hyperv平台的windows功能。
我收到以下错误:


由于一个或多个软件包故障,产品无法安装列出的工作负载和组件。



不完整的工作量

   使用.NET进行移动开发(Microsoft.VisualStudio.Workload.NetCrossPlat,版本= 15.0.26403.0)



不完整的组件

     Xamarin(Component.Xamarin,版本= 15.0.26323.1)

    Xamarin工作簿(Component.Xamarin.Inspector,版本= 15.0.26228.0)



您可以使用以下信息搜索解决方案,修改上述工作负载和组件的选择并重新安装,或从您的计算机中删除产品。



以下是导致上述不完整工作负载和组件的单个程序包故障的集合。要搜索这些特定问题的现有报告,请将每个包失败的URL复制并粘贴到Web浏览器中。如果已经报告了
问题,您可以在那里找到解决方案或解决方法。如果未报告此问题,您可以创建一个新问题,其他人将能够找到解决方案或解决方法。



包'Microsoft.VisualStudio.Xamarin。准备,版本= 15.0.26228.0'无法安装。

   搜索网址:https://aka.ms/VSSetupErrorReports?q = PackageId = Microsoft.VisualStudio.Xamarin.Preparation; PackageAction=Install; Returnurn = 2012受影响的工作量

       使用.NET进行移动开发(Microsoft.VisualStudio.Workload.NetCrossPlat,版本= 15.0.26403.0)

   受影响的组件

        Xamarin(Component.Xamarin,版本= 15.0.26323.1)

        Xamarin工作簿(Component.Xamarin.Inspector,版本= 15.0.26228.0)

   日志

        C:\ Users \ xxxx \ AppData \ Local \Temp \dd_setup_20170417100416_002_Microsoft.VisualStudio.Xamarin.Preparation.log

   详情

       执行的命令:"c:\windows \ syswow64 \\ cmd.exe" / C DEL / F / S / Q"""""""" C:\ Program Program(x86)\ Microsoft Visual Studio \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "
$
       返回代码:1

       返回代码详细信息:功能不正确。


日志文件包含以下内容:


[1adc:0018] [ 2017-04-17T10:04:37] c:\ windows \ syswow64 \\ cmd.exe / C DEL / F / S / Q""" C:\Program Files(x86)\\ \\ Mesrosoft Visual Studio\2017 \Community\Common7\IDE\Extensions\Xamarin""
$
[1adc:0018] [2017-04-17T10:04:37 ]错误:系统找不到指定的路径。

无法找到C:\Program Files(x86)\ Microsoft Visual Studio \\\ 2017 \ Communmunity \ Common7 \IDE \ Extensions \ Xamarin





解决方案

您好jenkstom,


感谢您在MSDN论坛上发帖。


根据到错误消息,Workload.NetCrossPlat和Xamarin.Inspector包无法下载,无法正确安装。


从您的描述中,听起来像那你已经尝试了很多步骤但仍然没有帮助,我建议你参考
为Visual Studio 2017创建离线安装程序以制作离线安装程序,它允许您下载完整资源
VS2017


这是我的布局VS 2017文件夹,其中包含所有Xamarin包:



离线安装程序完成后,您可以运行vs setup.exe来执行顺利安装。


最好的问候,


I am unable to install Xamarin with the VS2017 installer. I've downloaded the latest installer multiple times over several days with the same results.

I have followed the troubleshooting suggestions of deleting the installation files, running the cleaner, uninstall/reinstall. I'm on a surface pro 4 Win 10 with all updates applied. I've turned off hyperv management tools and hyperv platforms windows features. I get the following error:

The product failed to install the listed workloads and components due to one or more package failures.

Incomplete workloads
    Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0)

Incomplete components
    Xamarin (Component.Xamarin,version=15.0.26323.1)
    Xamarin Workbooks (Component.Xamarin.Inspector,version=15.0.26228.0)

You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the product from your machine.

Following is a collection of individual package failures that led to the incomplete workloads and components above. To search for existing reports of these specific problems, please copy and paste the URL from each package failure into a web browser. If the issue has already been reported, you can find solutions or workarounds there. If the issue has not been reported, you can create a new issue where other people will be able to find solutions or workarounds.

Package 'Microsoft.VisualStudio.Xamarin.Preparation,version=15.0.26228.0' failed to install.
    Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Xamarin.Preparation;PackageAction=Install;ReturnCode=1
    Impacted workloads
        Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26403.0)
    Impacted components
        Xamarin (Component.Xamarin,version=15.0.26323.1)
        Xamarin Workbooks (Component.Xamarin.Inspector,version=15.0.26228.0)
    Log
        C:\Users\xxx\AppData\Local\Temp\dd_setup_20170417100416_002_Microsoft.VisualStudio.Xamarin.Preparation.log
    Details
        Command executed: "c:\windows\syswow64\\cmd.exe" /C DEL /F /S /Q """C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Xamarin"""
        Return code: 1
        Return code details: Incorrect function.

The log file contains the following:

[1adc:0018][2017-04-17T10:04:37] c:\windows\syswow64\\cmd.exe /C DEL /F /S /Q """C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Xamarin"""
[1adc:0018][2017-04-17T10:04:37] Error: The system cannot find the path specified.
Could Not Find C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Xamarin

解决方案

Hi jenkstom,

Thank you for posting in MSDN forum.

According to the error message, Workload.NetCrossPlat and Xamarin.Inspector packages failed to download and couldn't install correctly.

From your description, sounds like that you have tried so many steps but still no help, I suggest you refer to Create an offline installer for Visual Studio 2017 to make an offline installer, it allows you to download full resources of VS2017.

Here is my layout VS 2017 file folder, which includes all the Xamarin packages:

After the offline installer is complete, you could run the vs setup.exe to perform a smooth installation.

Best Regards,


这篇关于程序包“Microsoft.VisualStudio.Xamarin.Preparation,version = 15.0.26228.0”无法安装。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆