问题描述
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" -outputresource:" $(TargetDir)$(TargetFileName)'';#1
• "c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\mt.exe" -manifest "$(ProjectDir)$(TargetName).exe.manifest" -outputresource:"$(TargetDir)$(TargetFileName)";#1
有人可以帮我吗?
推荐答案
这篇关于在构建后事件中创建清单时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!