Click here to Skip to main content
15,915,328 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i got this error when i was trying to compile my old code.
Last time i don't remember which version i was using.

I am using VS C++ for dll creatation.

following are errors i got.
C++

C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy "C:\Users\Plug-Ins\reference\mach_vmotion\mach_vmotion\Debug\mach_vmotion.dll" C:\Apps\Mach3\PlugIns\
<pre>1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.




so how to overcome this errors.
Posted
Updated 28-Nov-18 19:36pm
Comments
Garth J Lancaster 11-Oct-15 2:02am    
you're better off googling for MSB3073 and seeing some of the answers - especially on stackoverflow on what (may be) causing this issue - there's too many reasons and not enough detail from you unfortunately.. Go over your post build steps with a fine tooth comb, looking for write protected files, directories that dont exist, the list is huge
Richard MacCutchan 11-Oct-15 3:23am    
Check that it is not a failure of the copy command, permissions, sharing etc.

You have acustom build steps with a "copy" command which doesnt work for now. It is somewhere in the settings of the solution/project. If you are carefully you can edit th .sln file with a textediotr. (But make a backup before)
 
Share this answer
 
I found my problem to be much like Solution1 but it was in the project (vcxproj) file and not the solution file.
 
Share this answer
 
Comments
CHill60 8-Feb-17 12:50pm    
Funnily enough Solution 1 said "solution/project" ... so you haven't really added anything
I was getting the same error using Visual Studio 2017. The compiler was unable to copy a dll to a folder. Later Found that the directory is Read-only. Un-checking the Read-only option and re-building the project helped me.
Hope this helps anyone.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900