Click here to Skip to main content
15,888,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello i tryed everything can someone fix it Please

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: The command "pushd "C:\Users\Admistrator\Desktop\mw2\AlterIWnet Source Code\alterIWnet\iw4\iw4\clientdll\\dependencies\tools"

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

"C:\Users\Admistrator\Desktop\mw2\AlterIWnet Source Code\alterIWnet\iw4\iw4\clientdll\\dependencies\tools\svnrev.cmd"

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

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

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp
\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :VCEnd" exited with code 255.

Download File Here:
http://www.mediafire.com/?x0iedt1se6cv9f3[^]
Posted
Comments
Sergey Alexandrovich Kryukov 25-Oct-11 17:35pm    
OK, this is about your *.*proj project file. Where is it?
--SA
mw2adrian 25-Oct-11 17:43pm    
Right Here

Download File Here:
http://www.mediafire.com/?x0iedt1se6cv9f3[^]
mw2adrian 25-Oct-11 17:54pm    
PUSHD So What Should I Do
mw2adrian 25-Oct-11 22:18pm    
I read but can you do it for me because i need to finish two project by Friday

PUSHD[^] is a command that's internal to CMD.exe.

This goes for call and popd too.

So MSBuild can't find them, as there is no call.exe, pushd.exe or popd.exe

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 25-Oct-11 19:45pm    
Good point, my 5, but I provided some advanced advice, please see :-)
--SA
Espen Harlinn 26-Oct-11 4:24am    
Thank you, Sergey!
Richard MacCutchan 26-Oct-11 7:59am    
I think pushd and popd are internal commands (to cmd.exe) so there is no issue of searching for .exe files. I suspect the error messages refer to one of the paths that the push is trying to switch into.
Espen Harlinn 26-Oct-11 16:48pm    
Yes they are, and only valid for the same cmd.exe process, even cmd.exe /c pushd wouldn't work as expected ...
As I expected, the problem is a custom build step, see "svnrev.cmd".
Hard to say at first glance what is does, but it does something with Subversion.

This is a common (however not very frequent) mistake to try to over-engineer the build by including Subversion commands in it. This is methodically very dangerous conception. Revision control system should be totally independent from project/solution. I advise you get rid of it. No, I always do one-click build and stuff, but you should separate the two.

Consider you often do the cycle: get fresh code form Subversion and build it. For example, you can have to batch files, one to get code, another one — "build_all". If you often do the whole cycle, create one more batch file and call the other two. And don't put subversion commands in the project, which should be totally agnostic to Revision Control. Code is code, it works with what is in the project/solution directory, isn't it.

By the way, you misused Subversion in one more place, in your "clientdll.rar" file, as all those ".svn" sub-directories are there. Never copy working directory, always perform Subversion command "Export", which will export pure code for you. Also, always know what is source code, what is temporary file. For example, never deliver (and never store in code base) "*.suo", "*.user", "bin", "obj", etc.

—SA
 
Share this answer
 
Comments
Espen Harlinn 26-Oct-11 4:24am    
Good points :)
Sergey Alexandrovich Kryukov 26-Oct-11 11:43am    
Thank you, Espen.
--SA
Check the paths that you are trying to switch into with the pushd command(s) to ensure they are valid and accessible.
 
Share this answer
 
update tortoise svn to its last version

needed to redownload source with new version
 
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