Visual Studio 2008 Package Load Failure:未能正確加載包「Microsoft.VisualStudio.Xaml」

在安裝好Visual Studio 2008後,啓動Visual Studio 2008 發現以下提示:this

包加載失敗spa

未能正確加載包「Microsoft.VisualStudio.Xaml」( GUID = {E58C2A8B-BCC4-4559-AD59-D62EB6D58A22} )。請與包供應商聯繫以得到幫助。因爲可能會發生環境損壞,建議從新啓動應用程序。要禁止未來加載此包嗎? 能夠使用「devenv /resetskippkgs」從新啓用包加載。rest

按照提示,在visual studio 2008命令提示 中輸入 命令 "devenv /resetskippkgs" 重啓 Visual Studio 2008,結果仍是不能加載Xaml包。ip

因而乎,在網上查找相關的資料,終於功夫不負有心人,仍是被找着了。get

緣由:

  相應的Visual Studio 2008 須要有相應版本的SP1補丁。it

解決方法:

  安裝相應版本的SP1補丁便可。(本人親測io

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

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.
相關文章
相關標籤/搜索