ILMerge和部署

时间:2013-04-16 10:40:55

标签: deployment ilmerge

我现在已经完成了我的项目并已成功部署它,但是,我有一些成功运行的ilmerge和obfuscator post构建命令(我假设,因为没有错误)。但是,当我使用installshield项目部署项目并将其安装在测试计算机上时,它仍然包含我尝试使用ilmerge在程序文件文件夹中合并的所有dll文件。我没有测试过obfuscate命令是否有效。

if /I "$(ConfigurationName)" == "Release" copy "$(TargetPath)" "$(TargetDir)$(TargetName)Tmp.exe"
if /I "$(ConfigurationName)" == "Release" "C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /out:"$(TargetPath)" "$(TargetDir)$(TargetName)Tmp.exe" "$(TargetDir)dllnamehere.Dll" /internalize
if /I "$(ConfigurationName)" == "Release" Eazfuscator.NET.exe "$(TargetPath)" --msbuild-project-path "$(ProjectPath)" --msbuild-project-configuration "$(ConfigurationName)" --msbuild-project-platform "$(PlatformName)" --msbuild-solution-path "$(SolutionPath)" -n --newline-flush -v 3.3
if /I "$(ConfigurationName)" == "Release" del "$(TargetDir)$(TargetName)Tmp.exe"

想知道是否有人知道什么是错的?

谢谢,肖恩。

0 个答案:

没有答案