Visual Studio SP1 error: silverlight_sdk.msi is unavailable - visual-studio

I'm trying to install the SP1 for Visual Studio 2010. I first installed the beta and it worked fine. Then I used the web platform installer to install the SQL CE Compact 4, which I assume installed the full SP1 after (this installation took over 12 hours, so I canceled it). The web platform installer told me that SP1 and Silverlight 4 was installed.
Visual Studio tells me SP1 was partially installed. So I downloaded the installer from the site and now it gives me this error:
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'.
How can I fix this error?

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

To solve this problem you have to follow these steps:
Download "Microsoft Silverlight 4 Tools for Visual Studio 2010", but do not install.
Rename the downloaded installer file "Silverlight4_Tools.exe" to "Silverlight4_Tools.rar".
Extract the .rar file using tools like 7-Zip.
You can find the file silvelright_sdk.msi in the extracted files.
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.

I downloaded the offline installer and it worked fine.

I used the following link and it worked...
http://www.microsoft.com/en-us/download/confirmation.aspx?id=7335

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.

Related

The 'XamarinShellPackage' package did not load correctly

I have encountered the following error:
The 'XamarinShellPackage' package did not load correctly.
It happens when i start Visual Studio 2015 Community Update 3 Or Visual studio 15 Preview 4.
I even reinstalled windows 10 and it doesn't help.
As asked, pasting VS info:
Microsoft Visual Studio Enterprise 15 Preview 4
Version 15.0.25618.0 PREVIEW
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Enterprise
Visual Basic 15 Preview 4 00369-50000-00000-AA551
Visual C# 15 Preview 4 00369-50000-00000-AA551
ASP.NET and Web Tools 2016 15.0.20802.0
Common Azure Tools 1.8
JavaScript Language Service 2.0
JavaScript Project System 2.0
JavaScript UWP Project System 2.0
NuGet Package Manager 3.5.0
Parallel Debugger 1.0
SQL Server Data Tools 15.1.60805.0
TypeScript 2.0.1.0
Visual Studio Tools for Apache Cordova Update 10
Visual Studio Tools for Universal Windows Apps 15.0.25618.00
Xamarin 4.1.1.8 (60e5c00)
Xamarin.Android 6.1.1.1 (7db2aac)
Xamarin.iOS 9.8.1.4 (3cf8aae)
The tooling in the version information here is a little out of date. The solution in this case was to perform a thorough uninstall of Xamarin in Windows and reinstall using the latest available Stable release. I linked #Dorad to the direct download, but you can find this by signing into Xamarin.com, navigating to the Downloads page and selecting the download from the relevant drop-down list for your OS / desired Xamarin platform:
Another quick thing people can try that worked for me was deleting the .vs folder from the root of the solution folder. Make sure VS is closed when you do it.
There is a potential workaround you may want to try while we finish up a fix for this.
Please, close all open VS instance and copy this file (note you may need to adjust the path to your specific VS instance):
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\netstandard.dll"
to the Xamarin extension folder:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Xamarin.VisualStudio
And then open VS and check if you can still repro.
thanks,
I had the same problem after the latest VS2017 update..I resolved uninstalling an extension (Visual Studio Bitbucket plugin) which - apparently - was in conflict with XamarinShellPackage. Removing the extension and restarting VS did the trick for me.

Creating a UWP project in Visual Studio 2015 results in a ".NETCore 5.0 missing" message

I installed Visual Studio Enterprise 2015 (version 14.0.23104.0 D14REL) with tools for building Universal Windows Apps. Every time I create or load a Windows Universal project (unit test, class library), I get the following error:
The download link unhelpfully goes to microsoft.com and I can't find a "framework SDK" download for .NET Core anywhere.
I tried installing the CoreCLR runtime using the DNX tool, but that didn't change anything.
What am I missing?
I had the same issue and I noticed that the v5.0 "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore" was missing. This issue only arose after I installed the vs2017 and uninstalled it (meaning it removed the v5.0 folder during the uninstall process). I tried everything from repairing to uninstalling/reinstalling vs2015 but none recreated that folder.
Here is my v5.0 zip try placing it in the above mentioned path (never tried it myself, i just reinstalled vs2017)
https://www.mediafire.com/?hmdt5k41kvsyqt6
Download and run the Windows 10 VS Tools Installer for Vs2015 Enterprise and select the Windows 10 Development tools. This reinstalls everything relates to Windows 10 development.

Can't Find NuGet with VS 2010 Shell Extension Manager

Following these instructions as best I can, the VS 2010 Shell Extension Manager turns up no results when searching for "nuget". The only deviation as far as I can tell is that the instructions show using VS 2010 Ultimate, and I am using the Shell. I had no problem with AnkhSvn and I can see all kinds of other extensions in the Online Gallery. One other thing, before attempting this I installed the NuGetPackageExplorer (not even really sure what it is, just trying to get off the ground with NuGet and I found it on their CodePlex download site -- ultimately I'd like to publish my own NuGet package, since someone suggested it to me and I've heard about it a couple other times). Any Ideas?
Update
I recently got a new computer (Windows 7 64 bit) and freshly installed Visual Studio 2010 Shell and F# 2.0 and am having the same exact issue. Note: I just checked the About page and it says the only installed component is Visual Web Developer 2010 (seemed odd to me).
It seems like the Visual Studio 2010 "Shell" [1] is not one of the supported applications. Do you have a full version of Visual Studio 2010 Professional, Premium, or Ultimate?
From the NuGet FAQ page [2]:
What is required to run NuGet?
NuGet requires Visual Studio 2010 or Visual Web Developer Express 2010. The NuGet Package Manager Console requires that PowerShell 2.0 be installed. Powershell 2.0 is already installed if you have the following operating system:
Windows 7
Windows Server 2008 R2
If you have the following operating systems, you must manually install Powershell 2.0.
Windows XP SP3
Windows Server 2003 SP2
Windows Vista SP1
Windows Server 2008
[1] Is this the VS 2010 Shell you have? http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=8e5aa7b6-8436-43f0-b778-00c3bca733d3
[2] http://docs.nuget.org/docs/start-here/nuget-faq
Edit: Check what's selected in the left pane of the Extensions Manager. It defaulted to "Installed Extensions" for me, that could be your problem. Select "Online Gallery -> All" then do the search again.
--
Not sure why it's not showing up, but you can install NuGet by going to the website and clicking the blue "Install NuGet" button. This will take you through to a download page for the latest version (1.3).
NuGet can be installed and updated using the Visual Studio Extension Manager. To check if your copy of Visual Studio already has the NuGet extension, look for Library Package Manager in the Tools menu of your copy of Visual Studio.
see documentation here :
http://nuget.codeplex.com/wikipage?title=Getting%20Started

How repair/uninstall Visual Web Developer 2010 Beta 2?

I cannot uninstall Visual Web Developer 2010 Beta 2. When I was trying to uninstall the first time, the power went off to my machine and screwed up the Beta 2 installation. I cannot find a Visual Web Developer 2010 Beta 2 download on the Microsoft website any longer to repair the Beta 2 installation. How can I get VWD 2010 Beta 2 off of my system so I can install the new release?
You can remove the keys from the registry and manually delete whatever is left in the Program Files folder.
Run > regedit
Navigate to
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
and delete the key(s) for VWD. If you're feeling confident you can also do a full registry scan and physically remove whats left of the application in Program Files.
Well, after weeks of waiting, Microsoft finally came through via Scott Hanselman and Aaron Stebner. Below is a link to Beta 2 versions of the software that would not uninstall correctly for me:
Download Visual Studio 2010 Express Editions
You can reinstall Microsoft Express Beta 2 software via the link above and then properly uninstall the software to use the new Microsoft Express Editions.
It's sad that I had to answer my own question here, but that is the case.
I just successfully uninstalled a failed Visual Web Developer 2010 Beta 2, I looked for nearly 2 weeks for the answer, and found it myself.
Answer: You have to uninstall it from it's the setup.exe file in "C:\Program Files (x86)\Microsoft Visual Studio 10.0" directory, look for a folder called "vwd" or something similar in that directory, it should be in there (i didn't document it to well when I was uninstalling because I had tried nearly everything over and over with no results, and this just worked). Running the uninstall from the cd or iso doesn't identify the location of the installed location and fails. If you can't find the setup.exe file, do a search in the "C:\Program Files (x86)\Microsoft Visual Studio 10.0" directory.
Microsoft really ticks me off sometimes!

Windows 7 SDK installation failure

I seem to be completely unable to install the Windows 7 SDK onto my machine, and the only solution I've found on the web is to make a swathe of registry changes. I've done this - still no success.
This is the reported error:
A problem occurred while installing selected Windows SDK components.
Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.
Click the View Log button to review the installation log.
To exit, click Finish.
There is no Samples directory to refer too, and the SDK support team don't appear to live there any longer.
How do I fix this problem?
Microsoft now has a knowledge base article called Windows SDK Fails to Install with Return Code 5100 that describes this problem and its fix:
This issue occurs when you install the Windows 7 SDK on a computer that has a newer version of the Visual C++ 2010 Redistributable installed. The Windows 7 SDK installs version 10.0.30319 of the Visual C++ 2010 Redistributable.
The error message is located in the log file, which can be opened through the View Log button in the installer. Otherwise, it can be found here: %userprofile%\AppData\Local\Temp\ or %temp%. The log file is most likely called SDKSetup_7.xxxxx.log.
Solution: Uninstall any existing Visual C++ 2010 redistributable.
I just had this problem, and I looked at the solution at Ctrl+F5, Fix Problem Installing Windows SDK for Windows 7, but it didn't work.
I googled around and found the page Installing Visual C++ 2010 and Windows SDK for Windows 7: offline installer and installation troubleshooting and the advice there worked. Basically you could have one of several problems, and you have to look in the log file to see what's going on. In my log file I had:
6:17:07 PM Saturday, October 01, 2011: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation failed with return code 5100
so as that above web page suggested, I uninstalled both copies of the Visual C++ 2010 Redistributable Package that I had (both x86 and x64), and then when I ran the Windows 7 SDK installer again, it worked.
Although you might have a different problem than me. Try the solutions at the Ctrl+F5 and patheticcockroach.com websites that I linked.
I hoped this helped!
All of these (and other) solutions have failed completely for me so I figured out another.
You need the offline installation package (mine was x64), and you need to manually install only the samples. Opening the ISO-file with, for example, 7-Zip from location Setup\WinSDKSamples_amd64 and running WinSDKSamples_amd64.msi did this for me.
Then you just use the normal setup file to REPAIR the installation and choose whatever components you wish.
You should really check the log. It seems that quite a few components can cause the Windows SDK installer to fail to install with this useless error message. For instance it could be the Visual C++ Redistributable Package as mentioned there.
I have had this same problem with the x64 version installation. It relates (in my case at least) to the dexplore.exe installation. I uninstalled dexplore, reinstalled it, did a heap of registry changes, etc. as per various blogs and SDKs all to no avail. What finally fixed it for me was editing this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer\DisableBrowse
I changed the value to 0. Once the SDK had installed (quite happily this time) I set the value back to 1.
What alerted me to the possible error was the following in the SDK setup log:
12:19:42 PM Friday, 8 January 2010: SFX C:\Program Files\Microsoft SDKs\Windows\v7.0\Setup\SFX\dexplore.exe installation started with log file C:\TEMP\Microsoft Windows SDK for Windows 7_dd2d9383-116d-441f-85b3-7c16aeb3568e_SFX.log
12:19:47 PM Friday, 8 January 2010: C:\Program Files\Microsoft SDKs\Windows\v7.0\Setup\SFX\dexplore.exe installation failed with return code 1625
And this in the dexplore installation logfile:
MSI (s) (E4:7C) [12:19:46:680]: Machine policy value 'DisableBrowse' is 1
MSI (s) (E4:7C) [12:19:46:680]: Adding new sources is not allowed.
MSI (s) (E4:7C) [12:19:46:680]: Warning: rejected attempt to add new source 'c:\eb66d60e4283bfc2986755fa\' (product: {6753B40C-0FBD-3BED-8A9D-0ACAC2DCD85D})
MSI (s) (E4:7C) [12:19:46:680]: MSI_LUA: Elevation prompt disabled for silent installs
MSI (s) (E4:7C) [12:19:46:680]: Note: 1: 1729
MSI (s) (E4:7C) [12:19:46:680]: Product: Microsoft Document Explorer 2008 -- Configuration failed.
I hope this is of assistance in your situation.
One of the things to also keep in mind is that when you have Visual Studio 2010 SP1 installed some C++ compilers and libraries may have been removed. There's been an update made available by Microsoft to make sure those are brought back to your system.
Install this update to restore the Visual C++ compilers and libraries
that may have been removed when Visual Studio 2010 Service Pack 1
(SP1) was installed. The compilers and libraries are part of the
Microsoft Windows Software Development Kit for Windows 7 and the .NET
Framework 4 (later referred to as the Windows SDK 7.1).
Also, when you read the VS2010 SP1 README you'll also notice that some notes have been made in regards to the Windows 7 SDK (See section 2.2.1) installation. It may be that one of these conditions may apply to you and therefore may need to uncheck the C++ compiler-checkbox as the SDK installer will attempt to install an older version of compilers ÓR you may need to uninstall VS2010 SP1 and re-run the SDK 7.1 installation, repair or modification.
Condition 1: If the Visual C++ Compilers checkbox is selected when the
Windows SDK 7.1 is installed, repaired, or modified after Visual
Studio 2010 SP1 has been installed, the error may be encountered and
some selected components may not be installed.
Workaround: Clear the Visual C++ Compilers checkbox before you run the
Windows SDK 7.1 installation, repair, or modification.
Condition 2: If the Visual C++ Compilers checkbox is selected when the
Windows SDK 7.1 is installed, repaired, or modified after Visual
Studio 2010 has been installed but Visual Studio 2010 SP1 has not been
uninstalled, the error may be encountered.
Workaround: Uninstall Visual Studio 2010 SP1 and then rerun the
Windows SDK 7.1 installation, repair, or modification.
However, even then I found that I still needed to uninstall any existing Visual C++ 2010 redistributables, as has been suggested by mgrandi.
I could never get the Windows 7 SDK to install either, and it suggested I remove the latest SDK and Visual Studio 2012 Express. That didn't work.
There was also something about .NET 3.5. I installed the Server 2008 SDK with .NET 3.5, uninstalled Visual Studio 2010 redistributables and made sure redistributables were unchecked in the installation options.
Also, you need the .NET 4 framework already installed, which you can download from Microsoft's site. Then it worked.
Uninstalling all C++ redistributables and unchecking the C++ option worked for me. Note that I have VS2010 SP1, and VS2012 installed already.
mgrandi provided a very good resource and answer. I followed similar guidelines and by removing 'leftover' components managed to solve the problem.
As a reference, take a look at Windows SDK for Windows 7 and .NET Framework 4 Release Notes.
This downloads the release notes of the SDK (you should also have it on your computer after trying to install the SDK), and in the section 'Installing and Uninstalling the Windows SDK' you can see that Microsoft recommend cleaning some mess after them.
I installed Visual Studio 2012 and installed Visual Studio 2010 service package 1 and tried installing the SDK again, and it worked. I don't know which of them solved the problem.
I'm having the same error as this "Windows 7 SDK installation failure":
After finding out, I've got the solution.
It may also happen that the SDK installation runs through with a "success" message at the end, but nothing was actually installed. The only way to really find out whether the SDK was installed is to check the respective directory. C:Files\Microsoft SDKs\Windows\v7.1 or C:Files (x 86) SDKs\Windows\v7.1. If the subdirectory "v 7.1" was created and has some content, the SDK was installed. The solution for this problem is the same as for the issue with the error message: Uninstall Microsoft Visual C++ 2010 Redistributable (see below).
Resolution: Uninstall Microsoft Visual C++ 2010 Redistributable installations prior to Windows SDK installation.
Before the installation, I had the following Microsoft Visual C++ 2010 Redistributable installations. Note that the x 64 version is updated.
Microsoft Visual C++ 2010 Redistributable x 64-Microsoft Corporation 10.0.40219 15.2 MB 10.0.40219
Microsoft Visual C++ 2010 Redistributable-x 86 10.0.30319 Microsoft Corporation 11.0 MB 10.0.30319
I'd like to add that removing the Visual C++ 2012 Redistributable may be necessary, too. I removed both the Visual C++ 2012 Redistributable x84 and x64 and then my installation worked.
Do you have access to a PC with Windows 7, or a PC with the SDK already installed?
If so, the easiest solution is to copy the C:\Program Files\Microsoft SDKs\Windows\v7.1 folder from the Windows 7 machine to the Windows 8 machine.

Resources