如何从命令行为智能设备cab项目创建inf文件? [英] How to create the inf file for a smart device cab project from command line?

查看:99
本文介绍了如何从命令行为智能设备cab项目创建inf文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试进行持续集成,以在命令行上的msbuild中创建智能设备cab项目的构建.我发现的所有内容都表明可以使用在Visual Studio中构建项目时创建的inf文件(带有cabwiz).有没有一种方法可以使用.vddproj文件创建inf,以便随后可以将其与c​​abwiz.exe一起使用?

I am trying to get my continuous integration to create build the smart device cab project from within msbuild on the command line. Everything that I have found says to use the inf file (with cabwiz) created when you build the project from within visual studio. Is there a way to create the inf using the .vddproj file so that I can then use it with cabwiz.exe?

推荐答案

您最好的选择是从msbuild任务运行devenv.exe(或devenv.com),或者窃取Visual Studio生成并使用它的INF.从msbuild任务运行cabwiz.exe.

Your best bet is either to run devenv.exe (or devenv.com) from the msbuild task, or to steal the INF that Visual Studio generates and use it to run cabwiz.exe from the msbuild task.

MVP讨论: http: //social.microsoft.com/Forums/zh-CN/csharpide/thread/a3caae81-fd79-45a9-ac38-f471e30e5b2a

CabWiz.exe: http://msdn.microsoft.com/en -us/library/aa924359.aspx

CabWiz.exe: http://msdn.microsoft.com/en-us/library/aa924359.aspx

INF参考: http://msdn.microsoft.com/zh-我们/library/aa924371.aspx

示例: http://blog.enterprisemobile.com/2008/07/automating-build-versioning-and-publishing-smart-device-projects-with-team-foundation-build/ http://blog.opennetcf.com/ctacke/2008/09/18/AutomatingCABFileGenerationWithMSBUILD.aspx http://guystarbuck.blogspot.com/2006/08/automate-build-of-windows-moble-cab.html

这篇关于如何从命令行为智能设备cab项目创建inf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆