Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create the inf file for a smart device cab project from command line?

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?

like image 751
Randall Hoffpauir Avatar asked Dec 12 '08 21:12

Randall Hoffpauir


1 Answers

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 Discussion: http://social.microsoft.com/Forums/en-US/csharpide/thread/a3caae81-fd79-45a9-ac38-f471e30e5b2a

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

INF reference: http://msdn.microsoft.com/en-us/library/aa924371.aspx

Examples: 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

like image 155
ayeko Avatar answered Oct 01 '22 03:10

ayeko