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
分享
相关文章
|
11月前
|
“Error: error:0308010C:digital envelope routines::unsupported”启动vue项目遇到一个错误【已解决
“Error: error:0308010C:digital envelope routines::unsupported”启动vue项目遇到一个错误【已解决
190 1
|
12月前
Receiving ASM traces for errors: ORA-27090, LINUX-X86_64 ERROR: 17
Receiving ASM traces for errors: ORA-27090, LINUX-X86_64 ERROR:
83 7
Qtdesigner报错:This application failed to stat could not find or load the Qt platform plugin “windows“
Qtdesigner报错:This application failed to stat could not find or load the Qt platform plugin “windows“
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
328 1
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
解决node.js版本过高报错问题(Error: error:0308010C:digital envelope routines::unsupported)
解决node.js版本过高报错问题(Error: error:0308010C:digital envelope routines::unsupported)
440 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】怎么办?
1557 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 ...
3835 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
MAC编译:fatal error: ‘endian.h‘ file not found
MAC编译:fatal error: ‘endian.h‘ file not found
176 0
IDEA连接数据库错误:Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezon‘ 错误
IDEA连接数据库错误:Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezon‘ 错误
180 0
IDEA连接数据库错误:Server returns invalid timezone. Go to ‘Advanced‘ tab and set ‘serverTimezon‘ 错误
AI助理

你好,我是AI助理

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