I have a fresh install of Visual Studio 2015 community with Windows 10 UWP SDK running in my computer. Recently I tried to open a project that I imported from another computer a
I also stumbled upon this error.
There was a Typo in my old installation of Windows Software Development Kit.
When I opened Programs and Features
, there was Windows Software Development Kit 10.1.10586.212
, but the VS2015 project require version 10.0.10586.212
.
So I uninstalled all old ones (there was also 10.0.26624.0
), downloaded new installation 10.0.10586.212
from: https://developer.microsoft.com/en-us/windows/downloads/sdk-archive and it now works without any change in .csproj
I had this problem about a week ago, and ended up installing VS again from the Microsoft site. The download that fixed my problem was "Visual Studio Community - with Update 1" from here.
Had a few issues with code compatibility afterwards and had to reinstall a few SDKs, but other than that it fixed the "update required" prompts.
This error is very misleading. I spent many precious hours trying to fix it. If you are certain that your Visual Studio is up to date, you do not need to update nor repair the Visual Studio 2015.
Please follow the next steps:
Click Ok on the Error message.
Go to your solution explorer and right click on your projects with the (update required) tag.
Right click the Project and select the option: "Edit MyProject.csproj"
Edit all the appearances to the Windows 10 SDK to a lower version like 10.0.10240.0
From this:
<SDKReference Include="WindowsDesktop, Version=10.0.10586.0">
<Name>Windows Desktop Extensions for the UWP</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10586.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
To something like this:
<SDKReference Include="WindowsDesktop, Version=10.0.10240.0">
<Name>Windows Desktop Extensions for the UWP</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10240.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10240.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
Repeat for all the projects in your solution, and reload the projects multiple times (VS has a problema to refresh its structure), you have to be patient and probably restart it a couple of times.
And you are good to go! For more info please review this page: https://msdn.microsoft.com/en-us/library/Mt148501.aspx#RCUpdate10CSharp
It would seem more correct to go to help/about in visual studio and note the current version of the Visual Studio Tool for Universal Windows Apps and use it. However, there could be change in that version that prevent the app from running. This is a classic compatibility problem with no better solution than to try it and pray. The manifest should show required levels of dependent executables. Another approach would be to rebuild from source and see if it compiles.
This is high level advice. I have such an app I want to build and I will go the route of recreating projects to see if source builds.