I am working on a VS solution that utilizes the post-build events to copy files into a deployment project that packages the files. Does anyone know if there is any best practice in how to move files around to place in an MSI?
问问题
727 次
2 回答
0
As long as you copy all the dlls, exes, help files, icon files, resources ( but not .pdb), you are OK.
Why no pdb? Because pdb is debugging file, and it is there for debugging purpose. So in your release build, you don't need to have them.
于 2009-12-06T07:12:24.480 回答
0
只要您确定您永远不需要在您的包中构建最新版本的其他内容,您就可以了。但是,如果您想为“重新打包”场景做好准备,例如,可以选择轻松交换现有包中的单个文件,则应考虑将构建过程与“复制到部署项目”过程分开。
于 2009-12-06T08:19:13.567 回答