错误 MSB3073:我该如何解决这个问题? [英] error MSB3073: How do I fix this?

查看:31
本文介绍了错误 MSB3073:我该如何解决这个问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

3>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetReleaseEnergyLib.dll" "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetBins32EnergyLib32.dll"
3>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(113,5): error MSB3073: copy "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetEnergyDriverobjfre_win7_x86i386EnergyDriver.sys" "C:UsersjleeDesktop10_IPG2.7_4InitialPowerGadgetBins32"
3>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.

我在网上研究,我认为这与相对路径有关;但我不确定.有人可以帮助解释什么是错误的以及如何解决这个问题吗?

I was researching online, I think it has to do something with relative pathing; but I'm not sure. Can someone help explain what is wrong and how to fix this?

推荐答案

对于遇到这个问题的其他人,我的问题是目标目录包含空格,即

For anyone else that comes across this question my problem was that the target directory contained spaces i.e.

C:UsersAdministratorDocumentsVisual Studio 2017projectslah

所以对我来说,解决方案是将 $(TargetDir) 用双引号括起来,即

So for me the solution was to wrap $(TargetDir) in double quotes i.e.

copy ..
esources\* "$(TargetDir)" /Y

这篇关于错误 MSB3073:我该如何解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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