Visual Studio 2017 下汇编语言编译错误:Error MSB8036, Error MSB3721

本文介绍了在Visual Studio 2017中使用MASM汇编语言时遇到的两个编译错误:Error MSB8036和Error MSB3721。错误原因是缺少Windows SDK或目录问题。解决方法包括重新安装缺失的Windows SDK版本和调整包含文件的路径。通过这些步骤,可以成功解决汇编编译错误。
摘要由CSDN通过智能技术生成

错误代码如下

Severity Code Description Project File Line Suppression State
Error MSB8036 The Windows SDK version 10.0.15063.0 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”. Project D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets 46

Severity Code Description Project File Line Suppression State
Error MSB3721 The command “ml.exe /c /nologo /Sg /Zi /Fo"Debug\AddSub.obj” /Fl"p53AddSub.lst" /I “D:__work\2.mynotes\8.codes[book]Intel汇编语言程序设计-5th” /W3 /errorReport:prompt /TaAddSub.asm" exited with code 1. p53AddSub D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\BuildCustomizations\masm.targets 69

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值