Visual Studio 2008 Package Load Failure:未能正确加载包“Microsoft.VisualStudio.Xaml”

本文介绍了解决Visual Studio 2008中Xaml包加载失败的问题。原因是不同版本的Visual Studio需处于同一服务包级别。解决方法为安装相应的SP1补丁。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在安装好Visual Studio 2008后,启动Visual Studio 2008 发现如下提示:

包加载失败

未能正确加载包“Microsoft.VisualStudio.Xaml”( GUID = {E58C2A8B-BCC4-4559-AD59-D62EB6D58A22} )。请与包供应商联系以获得帮助。由于可能会发生环境损坏,建议重新启动应用程序。要禁止将来加载此包吗? 可以使用“devenv /resetskippkgs”重新启用包加载。

按照提示,在visual studio 2008命令提示 中输入 命令 "devenv /resetskippkgs" 重启 Visual Studio 2008,结果还是不能加载Xaml包。

于是乎,在网上查找相关的资料,终于功夫不负有心人,还是被找着了。

原因:

  相应的Visual Studio 2008 需要有相应版本的SP1补丁。

解决方法:

  安装相应版本的SP1补丁即可。(本人亲测

原文:https://support.microsoft.com/en-us/kb/2292664

Visual Studio 2008 Package Load Failure

SYMPTOMS
You install one version of Visual Studio such as Visual Studio Express (VB, C# or Web) and then patched it to Service Pack 1.  At a subsequent time you install another version such as Visual Studio 2008 Standard or Professional edition but do not re-install the service pack.

When you launch Visual Studio you may get package load failures such as the following:


Package Load Failure

Example:

Package 'Microsoft.VisualStudio.Xaml' has failed to load properly ( GUID = {E58C2A8B-BCC4-4559-AD59-D62EB6D58A22} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading
CAUSE
The different versions of Visual Studio need to be at the same service pack level.
RESOLUTION
To fix the problem, you can run the standalone Visual Studio 2008 Service Pack 1 installer. This should leave both the Express SKU and the Standard SKU with a working WPF designer, service packed to SP1.

 

转载于:https://www.cnblogs.com/seayxu/p/4693335.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值