“Visual Studio update required” but its up to date

后端 未结 4 1438
旧时难觅i
旧时难觅i 2021-02-20 15:41

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

4条回答
  •  不思量自难忘°
    2021-02-20 16:10

    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:

    1. Click Ok on the Error message.

    2. Go to your solution explorer and right click on your projects with the (update required) tag.

    3. Right click the Project and select the option: "Edit MyProject.csproj"

    4. Edit all the appearances to the Windows 10 SDK to a lower version like 10.0.10240.0

    From this:

    
      Windows Desktop Extensions for the UWP
    
    
      Windows Mobile Extensions for the UWP
    
    
    UAP
    10.0.10586.0
    10.0.10240.0
    

    To something like this:

    
      Windows Desktop Extensions for the UWP
    
    
      Windows Mobile Extensions for the UWP
    
    
    UAP
    10.0.10240.0
    10.0.10240.0
    

    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

提交回复
热议问题