VisualStudioSP1错误: silverlight_sdk. msi 不可用

我正在尝试为 VisualStudio2010安装 SP1。我首先安装了测试版,它运行良好。然后,我使用 Web 平台安装程序来安装 SQL CE Compact4,我假设在安装完 SP1之后(这个安装花费了12个小时,所以我取消了它)。Web 平台安装程序告诉我已经安装了 SP1和 Silverlight 4。

VisualStudio 告诉我 SP1已经部分安装了。所以我从站点下载了安装程序,现在它给了我这个错误:

Microsoft Silverlight 4 SDK - The feature you are trying to use is on a network resorce that is unavailable. Seeking application package 'silverlight_sdk.msi'.

我如何修复这个错误?

37999 次浏览

It's because Silverlight 4 isn't bundled with SP1 (apparently). Download Silverlight 4 tools, extract and point the SP1 error dialog to silverlight_sdk.msi. Should resolve it.

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b3deb194-ca86-4fb6-a716-b67c2604a139&displaylang=en

I downloaded the offline installer and it worked fine.

After the execution of the web installer you will notice that a new directory has been created on the root of your C drive. It would be a directory named like C:\961adfde6904297e47d06caaccf530. If you have many of those "strange named" directories you have to check the date modified and select the most recent. Inside that directory you will find the silverlight_sdk.msi file.

This is the file that is needed to be pointed by the "Use source" field of the "Microsoft Silver Light 4 SDK" installation error message.

Going on the installation, you may need the MSI file of the "WCF RIA Services v1.0 SP1". You can download it from WCF RIA Services V1.0 SP1 for Silverlight 4.

And then you can again point it to your error message.

To solve this problem you have to follow these steps:

  1. Download "Microsoft Silverlight 4 Tools for Visual Studio 2010", but do not install.

  2. Rename the downloaded installer file "Silverlight4_Tools.exe" to "Silverlight4_Tools.rar".

  3. Extract the .rar file using tools like 7-Zip.

  4. You can find the file silvelright_sdk.msi in the extracted files.

  5. Go back to your Visual Studio 2010 SP1 installer. If you are still on the error window, click the browse button to browse and choose the silvelright_sdk.msi from the folder where you extracted the files.