Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Cannot call batch file from pre-build event command line (VS 2012)

$
0
0

Hi,

I have this line of code as the pre-build event command line in Visual Studio 2012:

call "$(ProjectDir)Deployment\CopyFiles.bat"

The batch file just contains a comment so far, but I can't even execute it. This is the result when trying to deploy:

The command "call "F:\Website\Website\2013-3\Local\Website\Website\Deployment\CopyFiles.bat"" exited with code 1.

I have tried it without quotes, without "call" and I tried putting the batch file directly in F:\, all resulting in the same error.

How can I best do this?

Thanks!


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>