SmartAssembly Consol



有人知道如何在构建后事件中写这行吗

call "C:Program FilesRed GateSmartAssembly 6SmartAssembly.com" "/build $(ProjectFolder)($ProjectName).saproj" "/input=$(TargetPath) /output="%USERPROFILE%AppDataRoaming$(ProjectName).bundleContents$(ConfigurationName)$(TargetName)"

我一直用代码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"

另请参阅红门网页的链接

最新更新