"Visual Studio update required" 但它是最新的
"Visual Studio update required" but its up to date
我在我的计算机中全新安装了 Visual Studio 2015 社区和 Windows 10 UWP SDK 运行。最近我试图打开一个从另一台计算机导入的项目,当我启动解决方案时,我收到下一条错误消息:
查看解决方案操作
Visual Studio 需要更新
一个或多个项目需要一个平台 SDK(UAP,版本:10.0.10586.0),该 SDK 未安装或作为 Visual Studio 未来更新的一部分包含在内。
安装平台SDK打开这些项目。
当我单击“确定”时,我看到我在解决方案资源管理器中的所有项目旁边都有文本 (需要更新)。
当我点击它时,它会将我带到 Windows 10 SDK 下载页面,下载我已经一遍又一遍安装的 SDK。我也不止一次修复过这个解决方案。最后我从头开始重新安装了 Visual Studio 2015。
我该怎么做才能让我的项目再次运行?
大约一周前我遇到了这个问题,最后从 Microsoft 站点再次安装了 VS。解决我的问题的下载是 "Visual Studio Community - with Update 1" 来自 here.
之后遇到了一些代码兼容性问题,不得不重新安装一些 SDK,但除此之外它修复了 "update required" 提示。
这个错误很有误导性。我花了很多宝贵的时间试图修复它。
如果您确定您的 Visual Studio 是最新的,则不需要更新或修复 Visual Studio 2015.
请按照以下步骤操作:
在错误消息上单击“确定”。
转到您的解决方案资源管理器并右键单击带有(需要更新)标签的项目。
右键单击项目并select选项:"Edit MyProject.csproj"
将Windows10 SDK的所有外观修改为低版本如10.0.10240.0
来自这里:
<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>
像这样:
<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>
重复解决方案中的所有项目,并多次重新加载项目(VS 刷新其结构时出现问题),您必须耐心等待并可能重新启动几次。
你很高兴去!
有关更多信息,请查看此页面:
https://msdn.microsoft.com/en-us/library/Mt148501.aspx#RCUpdate10CSharp
我也偶然发现了这个错误。
我以前安装的 Windows 软件开发工具包中有错字。
当我打开Programs and Features
时,有Windows Software Development Kit 10.1.10586.212
,但是VS2015项目需要版本10.0.10586.212
。
所以我卸载了所有旧的(也有 10.0.26624.0
),从 https://developer.microsoft.com/en-us/windows/downloads/sdk-archive 下载了新的安装 10.0.10586.212
现在它可以在 .csproj[=16] 中没有任何变化=]
转到 visual studio 中的 help/about 并注意通用 Windows 应用程序的 Visual Studio 工具的当前版本并使用它似乎更正确。但是,该版本可能会发生变化,阻止该应用程序 运行。这是一个经典的兼容性问题,没有比尝试和祈祷更好的解决方案了。清单应显示所需级别的依赖可执行文件。另一种方法是从源代码重建并查看它是否编译。
这是高级建议。我有一个想要构建的应用程序,我将重新创建项目以查看源代码是否构建。
我在我的计算机中全新安装了 Visual Studio 2015 社区和 Windows 10 UWP SDK 运行。最近我试图打开一个从另一台计算机导入的项目,当我启动解决方案时,我收到下一条错误消息:
查看解决方案操作
Visual Studio 需要更新 一个或多个项目需要一个平台 SDK(UAP,版本:10.0.10586.0),该 SDK 未安装或作为 Visual Studio 未来更新的一部分包含在内。
安装平台SDK打开这些项目。
当我单击“确定”时,我看到我在解决方案资源管理器中的所有项目旁边都有文本 (需要更新)。
当我点击它时,它会将我带到 Windows 10 SDK 下载页面,下载我已经一遍又一遍安装的 SDK。我也不止一次修复过这个解决方案。最后我从头开始重新安装了 Visual Studio 2015。
我该怎么做才能让我的项目再次运行?
大约一周前我遇到了这个问题,最后从 Microsoft 站点再次安装了 VS。解决我的问题的下载是 "Visual Studio Community - with Update 1" 来自 here.
之后遇到了一些代码兼容性问题,不得不重新安装一些 SDK,但除此之外它修复了 "update required" 提示。
这个错误很有误导性。我花了很多宝贵的时间试图修复它。 如果您确定您的 Visual Studio 是最新的,则不需要更新或修复 Visual Studio 2015.
请按照以下步骤操作:
在错误消息上单击“确定”。
转到您的解决方案资源管理器并右键单击带有(需要更新)标签的项目。
右键单击项目并select选项:"Edit MyProject.csproj"
将Windows10 SDK的所有外观修改为低版本如10.0.10240.0
来自这里:
<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>
像这样:
<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>
重复解决方案中的所有项目,并多次重新加载项目(VS 刷新其结构时出现问题),您必须耐心等待并可能重新启动几次。
你很高兴去! 有关更多信息,请查看此页面: https://msdn.microsoft.com/en-us/library/Mt148501.aspx#RCUpdate10CSharp
我也偶然发现了这个错误。
我以前安装的 Windows 软件开发工具包中有错字。
当我打开Programs and Features
时,有Windows Software Development Kit 10.1.10586.212
,但是VS2015项目需要版本10.0.10586.212
。
所以我卸载了所有旧的(也有 10.0.26624.0
),从 https://developer.microsoft.com/en-us/windows/downloads/sdk-archive 下载了新的安装 10.0.10586.212
现在它可以在 .csproj[=16] 中没有任何变化=]
转到 visual studio 中的 help/about 并注意通用 Windows 应用程序的 Visual Studio 工具的当前版本并使用它似乎更正确。但是,该版本可能会发生变化,阻止该应用程序 运行。这是一个经典的兼容性问题,没有比尝试和祈祷更好的解决方案了。清单应显示所需级别的依赖可执行文件。另一种方法是从源代码重建并查看它是否编译。
这是高级建议。我有一个想要构建的应用程序,我将重新创建项目以查看源代码是否构建。