Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Post Build Events fail with Code 1

$
0
0

I have a VS2010 compilation issue.
I have recently been upgraded to a new PC (which is 64 bit - Windows 7) :) But I cannot compile my Dot Net Apps :(

It seems to be a problem with code we have in the Post Build Event:
In fact even if I change the code (in the Post-build event command line) to Echo, it still falls over with the same error message:

The error message on build is:
Error 1 The command "echo" exited with code 1. HelloWorld

Note this seemed to compile OK when run as an Administrator (authority
issue?)

If there is no post-build event the app builds successfully.

Do you have any idea what I can do to successfully compile with a post-build event?

Your assistance will be greatly appreciated.



Viewing all articles
Browse latest Browse all 21115

Trending Articles