SmartAssembly构建失败:模块应包含程序集清单。 (HRESULT异常:0x80131018) [英] SmartAssembly build failed: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
问题描述
大家好,
我正在将智能程序集标记添加到我的项目文件中,以使用以下智能程序集命令对我的exe和dll文件进行模糊处理。
Hi all,
I am adding the smart assembly tag to my project file to obfuscate my exe and dll files using the following smart assembly command.
<UsingTask TaskName="SmartAssembly.MSBuild.Tasks.Build" AssemblyName="SmartAssembly.MSBuild.Tasks, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7f465a1c156d4d57" />
<Target Name="AfterBuild" Condition="'$(Configuration)' == 'Debug'">
<SmartAssembly.MSBuild.Tasks.Build OverwriteAssembly="True" ProjectFile="E:\Rahul SVN\CA\smart\Smart Project\CM.saproj" input="$(OutDir)Client Management.exe" output="$(OutDir)Client Management.exe" />
</Target>
当我尝试构建时解决方案会引发以下错误:
SmartAssembly构建失败:
模块预计包含装配清单。 (HRESULT异常:0x80131018)。
请协助此
谢谢,
When I try to build the solution it throws the following error :
SmartAssembly build failed:
The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).
Kindly assist on this
Thanks,
推荐答案
(配置)'=='调试' >
< SmartAssembly.MSBuild.Tasks.Build OverwriteAssembly = True ProjectFile = E:\ Rahul SVN \ CA \ smart \ Smart Project \ CM.saproj input =
(Configuration)' == 'Debug'"> <SmartAssembly.MSBuild.Tasks.Build OverwriteAssembly="True" ProjectFile="E:\Rahul SVN\CA\smart\Smart Project\CM.saproj" input="
(OutDir)Client Management.exe 输出 =
(OutDir)Client Management.exe" output="
(OutDir)Client Management.exe / >
< / Target >
(OutDir)Client Management.exe" /> </Target>
当我尝试构建时解决方案会引发以下错误:
SmartAssembly构建失败:
模块预计包含装配清单。 (HRESULT异常:0x80131018)。
请协助此
谢谢,
When I try to build the solution it throws the following error :
SmartAssembly build failed:
The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).
Kindly assist on this
Thanks,
这篇关于SmartAssembly构建失败:模块应包含程序集清单。 (HRESULT异常:0x80131018)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!