无法调试 - ctrl + f5 SDK的问题??? “重新定位溶液” ?? [英] cant debug - problem with ctrl + f5 SDK ??? "retarget solution" ??

查看:107
本文介绍了无法调试 - ctrl + f5 SDK的问题??? “重新定位溶液” ??的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我需要紧急帮助 -

当我去"..."时,我收到此消息菜单" - "调试" - 然后按"开始调试":

I get this message when I go to the "menu" - "debug" - and press on "start debugging":

严重性    代码    描述    项目    文件    线    抑制状态

错误     MSB8036    找不到Windows SDK版本8.1。安装所需版本的Windows SDK或在项目属性页面中更改SDK版本,或右键单击解决方案并选择"重新定位解决方案"。  
  ConsoleApplication2     C:\Program Files(x86)\ MSBuild\Microsoft.Cpp \v4.0 \ V140 \Platforms\Win32 \PlatformToolsets\v140 \Toolset.targets     34  

Severity    Code    Description    Project    File    Line    Suppression State
Error    MSB8036    The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".    ConsoleApplication2    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets    34  

怎么办?

我需要处理非常紧急的事情。

I need to work with that very urgent.

谢谢

Elad

推荐答案

您好,

感谢您在MSDN论坛发帖。

Thank you for posting in MSDN forum.

首先,请转到控制面板 - 程序和功能,选择"Microsoft Visual Studio 2015",右键单击并选择"修改",检查Win 8.1 SDK安装得好:

Firstly, please go to Control Panel—Programs and Features,  choose ‘Microsoft Visual Studio 2015’, right click it and choose ‘Modify’, to check if the Win 8.1 SDK is installed well:

然后将其应用,或者您可以从以下位置手动下载:

Then make it is applied, or you could manually download it from:

https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk

确保SDK安装良好后,请重新启动VS并创建一个新的C ++ Win32应用程序,右键单击Project Property-> General-> Target Platf orm Version,下拉它,看看8.1是否可以如下定位:

Once you ensure the SDK is installed well, please restart VS and create a new C++ Win32 application, right click Project Property->General->Target Platform Version, dropdown it and see if the 8.1 could be targeted as below:

最好的问候,


这篇关于无法调试 - ctrl + f5 SDK的问题??? “重新定位溶液” ??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆