3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\Release\EnergyLib.dll" "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\Bins32\EnergyLib32.dll"
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\EnergyDriver\objfre_win7_x86\i386\EnergyDriver.sys" "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\Bins32"
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.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?
Click Cancel on the pop-up. Goto the error list window and see for compilation errors. Your code has errors, hence the solution hasn't built successfully. Rectify the errors and build again.
About. The exit code or exit status is a number returned by a process created by a command line indicating if there was an error or not. an other value means that there was an error.
In my case the problem was that VC++ was trying to copy a .dll file into a system folder. Running it as administrator fixed the problem.
For anyone else that comes across this question my problem was that the target directory contained spaces i.e.
C:\Users\Administrator\Documents\Visual Studio 2017\projects\blah
So for me the solution was to wrap $(TargetDir)
in double quotes i.e.
copy ..\resources\\* "$(TargetDir)" /Y
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With