Microsoft.CppCommon.targets(132,5): error MSB3073 怎么解决?

简介: Microsoft.CppCommon.targets(132,5): error MSB3073 怎么解决?

原本想生成dll文件后,自动拷贝到指定的路径,结果编译报错:


1>syAve.vcxproj -> D:\My Resources\Hello World\测试\Smer 2019.4.28\Debug\syAve.dll

1>系统找不到指定的文件。

1>系统找不到指定的文件。

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: 命令“copy D:\My Resources\Hello World\测试\Smer 2019.4.28\Debug\syAve.lib ..

\Smer\Lib\Debug

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: copy D:\My Resources\Hello World\测试\Smer 2019.4.28\Debug\syAve.dll ..\Smer

\Lib\Debug

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073:

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd”已退出,代码为 1。


原因是:copy命令不支持路径带空格。(备注:中文是支持的。)


解决办法是:路径加引号!


image.png


 


目录
打赏
0
0
0
0
23
分享
相关文章
打印文档即提示Print driver host for 32bit applications
主机win7 32位系统,打印一切正常,共享打印机后,客户机为win7 64位系统连接该共享打印机,连接成功,驱动安装正常,x64驱动,客户机打印测试页正常,但打印文档即提示Print driver host for 32bit applications。
8032 0
打印文档即提示Print driver host for 32bit applications
用IAR打开STM8时,出现“Unable to create configuration 'Debug' using tool chain ‘STM8’
用IAR打开STM8时,出现“Unable to create configuration 'Debug' using tool chain ‘STM8’
527 0
RMAN-01009: syntax error: found "dot" 解决办法
RMAN-01009: syntax error: found "dot" 解决方法   今天调试一个RMAN 的备份脚本,这个脚本以前也用过很多次,并没有什么问题,今天执行时,就是过不去。
1492 0
[NextJs] 解决 Failed to load SWC binary for win32/64
快速解决 Next.js 在 Windows 下运行时 SWC Binary 报错的方法,包括安装 Microsoft Visual C++ Redistributable 和确认处理器架构。
解决node.js版本过高报错问题(Error: error:0308010C:digital envelope routines::unsupported)
解决node.js版本过高报错问题(Error: error:0308010C:digital envelope routines::unsupported)
427 0
解决node.js版本过高报错问题(Error: error:0308010C:digital envelope routines::unsupported)
当你安装包遇到【 error: Microsoft Visual C++ 14.0 or greater is required】怎么办?
当你安装包遇到【 error: Microsoft Visual C++ 14.0 or greater is required】怎么办?
1511 0
MDK st-link下载STM32程序出现Internal command error和Error:Flash download failed. Target DLL
MDK st-link下载STM32程序出现Internal command error和Error:Flash download failed. Target DLL   是因为目标板的芯片处于休眠的状态,在尝试连接目标板时候也会出现报错Internal command ...
3825 0
wrf--运行real.exe时报错:“Could not find level above ground“ error
在修改wrf初始场资料时,如果做了带通滤波处理,会发现在运行real.exe时报错:“Could not find level above ground” error 。
wrf--运行real.exe时报错:“Could not find level above ground“ error
编译OpenJDK11:configure: error: Target CPU mismatch. We are building for x86_64 but CL is for “版“; exp
编译OpenJDK11:configure: error: Target CPU mismatch. We are building for x86_64 but CL is for “版“; exp
200 0
MAC编译:fatal error: ‘endian.h‘ file not found
MAC编译:fatal error: ‘endian.h‘ file not found
173 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等