【问题标题】:SmartAssembly ConsolSmartAssembly 控制台
【发布时间】:2015-12-30 10:30:27
【问题描述】:

有谁知道如何在构建后事件中写这一行

call "C:\Program Files\Red Gate\SmartAssembly 6\SmartAssembly.com" "/build $(ProjectFolder)\($ProjectName).saproj" "/input=$(TargetPath) /output="%USERPROFILE%\AppData\Roaming\$(ProjectName).bundle\Contents\$(ConfigurationName)\$(TargetName)"

我一直在退出代码 1。

【问题讨论】:

    标签: smartassembly


    【解决方案1】:

    只需在Post build event 中添加以下行:

    "C:\Program Files\Red Gate\SmartAssembly 6\SmartAssembly.com" /build "full_path.saproj"

    我们已经将输出和输入放在 saproj 文件中,并且不使用任何标志

    我认为错误在这里:

    "/build $(ProjectFolder)\($ProjectName).saproj"

    应该是:

    /build "$(ProjectFolder)\($ProjectName).saproj"

    另外 - 从红门网页看到这个link

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-07-23
      • 2011-10-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-21
      相关资源
      最近更新 更多