在构建后事件中创建清单时出错 [英] error while creating manifest in post build event

查看:103
本文介绍了在构建后事件中创建清单时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我在5月的一个应用程序中有安装项目.我正在尝试执行构建后事件.在构建后事件中,我试图为我的应用程序创建一个清单.但是我收到一个错误消息,因为``'PostBuildEvent'失败,错误代码为'31''Unspecified error'''.

I have setup project in one of may applications. I am trying to execute a post build event. In the post build event i am trying to create a manifest for my application. But i am getting an error as "'PostBuildEvent' failed with error code '31' 'Unspecified error' ".

我在发布后事件中使用以下代码

I m using the following code in the post build event

"c:\ Program Files \ Microsoft Visual Studio 8 \ SDK \ v2.0 \ Bin \ mt.exe" -manifest" $(ProjectDir)$(TargetName).exe.manifest"

         "c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\mt.exe" -manifest "$(ProjectDir)$(TargetName).exe.manifest"  -outputresource:"$(TargetDir)$(TargetFileName)";#1

有人可以帮我吗?

推荐答案

清单文件是否位于指定位置:

Is your manifest file at the location specified:


(ProjectDir)
(ProjectDir)


(TargetName).exe.manifest ?
(TargetName).exe.manifest?


这篇关于在构建后事件中创建清单时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆