3
我试图在Visual Studio的Post build事件中运行批处理文件。在VS2012中发布构建事件。运行批处理文件
推荐Can we execute a .bat file in post build event command line in visual studio?作为参考。
当我张贴线
xcopy "$(ProjectDir)bin" "$(SolutionDir)Deploy\bin" /S in postbuild
时得到预期的结果
同一行我把蝙蝠打过电话
call "$(SolutionDir)\Deploy.bat"
或
call "Physical path\deploy.bat"
上午越来越用代码1兴奋。我在这里做错了什么?
我可以在批处理文件中指定宏吗?
感谢
你在'deploy.bat'中做了什么?你确定它没有错误吗?你有没有尝试从msbuild启用诊断日志记录,看看它是否会给你更多的细节? – outcoldman 2013-04-24 07:49:20