0

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

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。

4

1 回答 1

0

只需在中添加以下行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"

另外 -从红门网页查看此链接

于 2016-12-01T11:16:37.110 回答